From 8c05e04f4a9d5a1069113ce3fc27e782b855be5a Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 25 Nov 2023 20:44:35 +0800 Subject: [PATCH] bump rc4 aaaaaaaaaaaaaaa --- README.md | 2 +- docs/change_log.md | 9 +++++++++ src/lib_not_dr/__init__.py | 2 +- src/lib_not_dr/nuitka/reader/__init__.py | 7 +++++-- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d16dd24..d9afaee 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A python lib came from [Difficult Rocket](https://github.com/shenjackyuanjie/Dif ## Information/信息 -- Version / 版本: 0.2.0-rc.3 +- Version / 版本: 0.2.0-rc.4 - Author / 作者: shenjackyuanjie <3695888@qq.com> > [shenjackyuanjie](https://github.com/shenjackyuanjie) diff --git a/docs/change_log.md b/docs/change_log.md index 8ff3b52..af550b1 100644 --- a/docs/change_log.md +++ b/docs/change_log.md @@ -1,5 +1,14 @@ # Change log / 更新日志 +## 0.2.0-rc.4 + +### lndl-nuitka + +- 在 `lndl-nuitka` 中使用新添加的 `subprocess_to_bash` 函数展示命令 + - 保证展示的命令可以直接运行 + +> 真的就是在刷版本号啊 + ## 0.2.0-rc.3 ### lndl-nuitka diff --git a/src/lib_not_dr/__init__.py b/src/lib_not_dr/__init__.py index f79487b..c93107f 100644 --- a/src/lib_not_dr/__init__.py +++ b/src/lib_not_dr/__init__.py @@ -4,7 +4,7 @@ # All rights reserved # ------------------------------- -__version__ = '0.2.0-rc.3' +__version__ = '0.2.0-rc.4' from typing import TYPE_CHECKING diff --git a/src/lib_not_dr/nuitka/reader/__init__.py b/src/lib_not_dr/nuitka/reader/__init__.py index c9f0bc3..a32bfa4 100644 --- a/src/lib_not_dr/nuitka/reader/__init__.py +++ b/src/lib_not_dr/nuitka/reader/__init__.py @@ -10,7 +10,10 @@ import subprocess from pathlib import Path from typing import Dict, Union, List -from lib_not_dr.nuitka.reader.arg_parser import pyproject_toml, toml_path_cli, gen_subprocess_args +from lib_not_dr.nuitka.reader.arg_parser import (pyproject_toml, + toml_path_cli, + gen_subprocess_args, + subprocess_to_bash) support_config_dict = Dict[str, Union[str, bool, List[Union[str, tuple]]]] @@ -83,7 +86,7 @@ toml_loads = get_toml_reader() def display_config(subprocess_command: list) -> None: print(f"The config is:\n\033[34m{subprocess_command} \033[0m") print("shell command is:\n\033[34m", end="") - print(" ".join(subprocess_command), '\033[0m') + print(subprocess_to_bash(subprocess_command), '\033[0m') print(f"Working Dir: \033[32m {Path().cwd().absolute()} \033[0m")