bump to 0.3.9, 这下看懂报错了吧?
This commit is contained in:
parent
a9366ac476
commit
390bdae762
@ -6,7 +6,7 @@ A python lib came from [Difficult Rocket](https://github.com/shenjackyuanjie/Dif
|
||||
|
||||
## Information/信息
|
||||
|
||||
- Version / 版本: 0.3.8
|
||||
- Version / 版本: 0.3.9
|
||||
- Author / 作者: shenjackyuanjie <3695888@qq.com>
|
||||
|
||||
[shenjackyuanjie](https://github.com/shenjackyuanjie)
|
||||
@ -23,6 +23,7 @@ A python lib came from [Difficult Rocket](https://github.com/shenjackyuanjie/Dif
|
||||
pip install lib-not-dr
|
||||
pip install lib-not-dr[nuitka]
|
||||
# install with nuitka support
|
||||
# 安装支持 nuitka 的版本
|
||||
```
|
||||
|
||||
## 使用/Usage
|
||||
@ -76,6 +77,8 @@ script = "xxx.py"
|
||||
>
|
||||
> Use with `lndl_nuitka` command line tool
|
||||
|
||||
> 建议使用 `pip install lib-not-dr[nuitka]` 安装 lib-not-dr
|
||||
|
||||
```bash
|
||||
lndl_nuitka .
|
||||
lndl_nuitka . -- --onefile
|
||||
|
@ -1,5 +1,10 @@
|
||||
# lndl 0.3
|
||||
|
||||
## 0.3.9
|
||||
|
||||
- 改进了 `lndl-nuitka` 在没有找到 toml 库的时候的报错
|
||||
- 这下看的懂了吧 ?
|
||||
|
||||
## 0.3.8
|
||||
|
||||
- 为 `logger` 添加了 `default_tag` 属性
|
||||
|
@ -9,7 +9,7 @@ from typing import TYPE_CHECKING
|
||||
if TYPE_CHECKING:
|
||||
from lib_not_dr import loggers, nuitka, types, command
|
||||
|
||||
_version_ = "0.3.8"
|
||||
_version_ = "0.3.9"
|
||||
|
||||
# fmt: off
|
||||
__all__ = [
|
||||
|
@ -81,9 +81,11 @@ def get_toml_reader():
|
||||
return loaded
|
||||
except ImportError:
|
||||
continue
|
||||
error_msg = """No toml reader found, please install any below by pip:
|
||||
%s
|
||||
or use Python 3.11+""" % " ".join(TOML_READERS)
|
||||
error_msg = """\033[31mNo toml reader found, please install any below by pip:
|
||||
{toml} or use Python 3.11+ or install lib-not-dr with lib_not_dr[nuitka] option
|
||||
没有找到 toml 解析器, 请考虑安装下列之一的 toml 库
|
||||
{toml} 或者使用 Python 3.11+ 或者使用 lib_not_dr[nuitka] 安装 lib-not-dr\033[0m
|
||||
""".format(toml="\n ".join(TOML_READERS))
|
||||
raise ImportError(error_msg) from None
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user