readme improve
This commit is contained in:
parent
8c0795eb9c
commit
5b359f22de
15
README.md
15
README.md
@ -56,8 +56,9 @@ logger.trace('so this message will be in the same line', tag='same line!')
|
||||
|
||||
### Nuitka pyproject paser
|
||||
|
||||
> WIP
|
||||
> 等待 0.2.0
|
||||
> `pyproject.toml` 内的配置
|
||||
>
|
||||
> Config in `pyproject.toml`
|
||||
|
||||
```toml title="pyproject.toml"
|
||||
[tool.lndl.nuitka]
|
||||
@ -67,6 +68,10 @@ standalone = true
|
||||
onefile = false
|
||||
```
|
||||
|
||||
> 通过 `lndl_nuitka` 命令行工具使用
|
||||
>
|
||||
> Use with `lndl_nuitka` command line tool
|
||||
|
||||
```bash
|
||||
lndl_nuitka .
|
||||
lndl_nuitka . -- --onefile
|
||||
@ -77,6 +82,10 @@ lndl_nuitka . -n
|
||||
# do not run
|
||||
```
|
||||
|
||||
> 通过 `lib_not_dr.nuitka.reader` 模块使用
|
||||
>
|
||||
> Use with `lib_not_dr.nuitka.reader`
|
||||
|
||||
```python
|
||||
from tomli import loads
|
||||
from lib_not_dr.nuitka.reader import main, run_nuitka
|
||||
@ -93,6 +102,7 @@ run_nuitka(command)
|
||||
#### Warning/警告
|
||||
|
||||
::: warning
|
||||
|
||||
> 已经弃用 Deprecated
|
||||
> 请改用 lndl_nuitka / python -m lndl_nuitka
|
||||
|
||||
@ -138,5 +148,4 @@ else: # do_run is None
|
||||
|
||||
if do_run:
|
||||
subprocess.run(compiler.gen_subprocess_cmd())
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user