2023-06-10 00:23:46 +08:00
|
|
|
# lib-not-dr
|
2023-06-24 21:01:09 +08:00
|
|
|
|
|
|
|
A python lib came from [Difficult Rocket](https://github.com/shenjackyuanjie/Difficult-Rocket) development
|
|
|
|
|
|
|
|
一个在 [Difficult Rocket](https://github.com/shenjackyuanjie/Difficult-Rocket) 开发中 分离出来的 python 库
|
|
|
|
|
|
|
|
## Information/信息
|
|
|
|
|
2023-06-25 02:21:41 +08:00
|
|
|
- Version/版本: 0.0.4
|
2023-06-24 21:01:09 +08:00
|
|
|
|
|
|
|
### Author/作者
|
|
|
|
|
|
|
|
[shenjackyuanjie](https://github/shenjackyuanjie)
|
|
|
|
|
|
|
|
### License/许可证
|
|
|
|
|
|
|
|
[MPL-2.0](https://www.mozilla.org/en-US/MPL/2.0/)
|
|
|
|
|
|
|
|
## 安装/Install
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip install lib-not-dr
|
|
|
|
```
|
|
|
|
|
|
|
|
## 使用/Usage
|
|
|
|
|
|
|
|
### Nuitka Compiler Helper
|
|
|
|
|
|
|
|
```python
|
|
|
|
import subprocess
|
|
|
|
from lib_not_dr.nuitka import CompilerHelper
|
|
|
|
|
|
|
|
compiler = CompilerHelper("main.py")
|
|
|
|
|
|
|
|
print(compiler)
|
|
|
|
subprocess.run(compiler.gen_subprocess_cmd())
|
|
|
|
```
|