From 285c5d4a78530d9d406bdcfc38e5933235361298 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Fri, 18 Aug 2023 23:30:03 +0800 Subject: [PATCH] 0.1.1 --- docs/change_log.md | 5 +++++ lib_not_dr/__init__.py | 2 +- lib_not_dr/nuitka/compile.py | 2 ++ pyproject.toml | 6 +----- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/change_log.md b/docs/change_log.md index 1613306..16ca4e1 100644 --- a/docs/change_log.md +++ b/docs/change_log.md @@ -1,5 +1,10 @@ # Change log / 更新日志 +## 0.1.1 + +- 为 `CompilerHelper` 添加了 `remove_output` 的选项 + - 用于删除编译后的过程文件 + ## 0.1.0 - 添加了一些文档 diff --git a/lib_not_dr/__init__.py b/lib_not_dr/__init__.py index 736c6bb..995724f 100644 --- a/lib_not_dr/__init__.py +++ b/lib_not_dr/__init__.py @@ -4,5 +4,5 @@ # All rights reserved # ------------------------------- -__version__ = '0.1.0' +__version__ = '0.1.1' diff --git a/lib_not_dr/nuitka/compile.py b/lib_not_dr/nuitka/compile.py index 284ac48..3e1d95a 100644 --- a/lib_not_dr/nuitka/compile.py +++ b/lib_not_dr/nuitka/compile.py @@ -43,6 +43,7 @@ class CompilerHelper(Options): show_progress: bool = True # --show-progress show_memory: bool = False # --show-memory + remove_output: bool = True # --remove-output save_xml: bool = False # --xml xml_path: Path = Path('build/compile_data.xml') @@ -132,6 +133,7 @@ class CompilerHelper(Options): _add_cmd(cmd_list, '--disable-ccache' if not self.use_ccache else None) _add_cmd(cmd_list, '--show-progress' if self.show_progress else None) _add_cmd(cmd_list, '--show-memory' if self.show_memory else None) + _add_cmd(cmd_list, '--remove-output' if self.remove_output else None) _add_cmd(cmd_list, '--assume-yes-for-download' if self.download_confirm else None) _add_cmd(cmd_list, '--run' if self.run_after_build else None) _add_cmd(cmd_list, '--enable-console' if self.enable_console else '--disable-console') diff --git a/pyproject.toml b/pyproject.toml index ebceb95..a384aa7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [project] -version = "0.1.0" +version = "0.1.1" name = "lib-not-dr" description = "A python lib created from Difficult Rocket development" readme = "README.md" @@ -13,10 +13,6 @@ classifiers = [ ] license = { file = "LICENSE" } -dependencies = [ - "nepattern>=0.5.10", -] - [project.urls] Homepage = "https://github.com/shenjackyuanjie/lib-not-dr" Repository = "https://github.com/shenjackyuanjie/lib-not-dr"