diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index c6ce226..1e8ba20 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -1,34 +1,51 @@ # 开发待办事项 -- [x] 解决相对引用与作为包运行问题 +## 控件 + +- [ ] 子进程窗口 `SubProcessDlg` + - [x] 将子进程的输出与状态显示至单独的弹出窗口 + - [x] 增加多功能按钮 + - [ ] 优化多功能按钮代码、增加功能 + - [ ] 关闭窗口时中断子进程、清除输出 + - [ ] 处理不能正确显示子进程错误的问题(会被“打包完成”遮盖) +- [ ] Python 解释器选择器 +- [ ] 资源文件添加框 +- [ ] "What is this" 提示 +- [ ] `PyInstaller` 选项参数详解表格 +- [ ] 「简洁模式」/「详尽模式」切换 + +## 打包 + - [x] 选项参数获取 - [x] 将参数拼接成完整调用命令 - [x] 参数预览器控件 - - [ ] 优化拼接代码 + - [x] 使用枚举值控制参数 + - [x] 优化拼接代码 - [x] 调用 `PyInstaller` 子进程 - [x] 使用 `QProcess` 替代 `subprocess` 以解决界面卡死问题 - - [x] 将子进程的输出与状态显示至单独的弹出窗口 - - [x] 为 `SubProcessDlg` 增加多功能按钮 - - [ ] 优化子进程相关代码,增强异常处理 -- [ ] 增加主界面功能控件 - - [ ] 资源文件添加框 - - [ ] Python 解释器选择器 - - [x] 增加状态栏信息 - - [ ] 「简洁模式」/「详尽模式」切换 -- [ ] 菜单栏功能 - - [ ] `PyInstaller` 选项参数详解表格 - - [ ] 打包任务读写 -- [x] 实现跨平台功能 - - [x] 获取当前运行平台 - - [x] 以合理方式保存至某种全局变量中 - - [x] 定制各平台特有功能 + - [x] 优化子进程相关代码,增强异常处理 - [ ] 打包任务 - [x] 创建打包任务,保存所有选项 - [ ] ~~定义文件并以适当格式存储(`json`)~~ - [ ] 创建 [`.spec` 文件](https://pyinstaller.org/en/stable/spec-files.html) - [ ] `spec` 编辑器 -- [x] 使用 `qrc` 管理[静态资源](../src/py2exe_gui/Resources) + +## 界面 + +- [x] 实现跨平台功能 + - [x] 获取当前运行平台 + - [x] 以合理方式保存至某种全局变量中 + - [x] 定制各平台特有功能 +- [x] 使用 `qrc` 管理静态资源 + +## 应用程序级 + +- [x] 解决相对引用与作为包运行问题 - [ ] `logging` 日志记录 +- [ ] 支持命令行方式 +- [ ] 翻译与国际化 + +## 美化 + - [ ] QSS 与美化 - [ ] 动画效果 -- [ ] 翻译与国际化 \ No newline at end of file diff --git a/poetry.lock b/poetry.lock index a49bcfb..fd2f7e0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -148,7 +148,7 @@ future = "*" [[package]] name = "platformdirs" -version = "2.5.4" +version = "2.6.0" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." category = "dev" optional = false @@ -388,8 +388,8 @@ pefile = [ {file = "pefile-2022.5.30.tar.gz", hash = "sha256:a5488a3dd1fd021ce33f969780b88fe0f7eebb76eb20996d7318f307612a045b"}, ] platformdirs = [ - {file = "platformdirs-2.5.4-py3-none-any.whl", hash = "sha256:af0276409f9a02373d540bf8480021a048711d572745aef4b7842dad245eba10"}, - {file = "platformdirs-2.5.4.tar.gz", hash = "sha256:1006647646d80f16130f052404c6b901e80ee4ed6bef6792e1f238a8969106f7"}, + {file = "platformdirs-2.6.0-py3-none-any.whl", hash = "sha256:1a89a12377800c81983db6be069ec068eee989748799b946cce2a6e80dcc54ca"}, + {file = "platformdirs-2.6.0.tar.gz", hash = "sha256:b46ffafa316e6b83b47489d240ce17173f123a9b9c83282141c3daf26ad9ac2e"}, ] pyinstaller = [ {file = "pyinstaller-5.7.0-py3-none-macosx_10_13_universal2.whl", hash = "sha256:b967ae71ab7b05e18608dbb4518da5afa54f0835927cb7a5ce52ab8fffed03b6"}, diff --git a/pyproject.toml b/pyproject.toml index 53c917f..6782a76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,13 @@ [tool.poetry] name = "py2exe-gui" -version = "0.1.7" +version = "0.1.8" description = "GUI for PyInstaller, based on PySide6" keywords = ["PyInstaller", "GUI", "PySide6"] authors = ["muzing "] license = "GPL-3.0-or-later" readme = ["README.md", "README_zh.md"] repository = "https://github.com/muziing/Py2exe-GUI" -exclude = ["src/py2exe_gui/Resources/Icons"] +exclude = ["src/py2exe_gui/Resources/Icons", "src/py2exe_gui/Resources/Texts"] [tool.poetry.dependencies] python = ">=3.7,<3.12" diff --git a/src/py2exe_gui/Constants/app_constants.py b/src/py2exe_gui/Constants/app_constants.py index 51e3449..7328e62 100644 --- a/src/py2exe_gui/Constants/app_constants.py +++ b/src/py2exe_gui/Constants/app_constants.py @@ -6,6 +6,6 @@ """ NAME = "Py2exe-GUI" -VERSION = "0.1.7" +VERSION = "0.1.8" AUTHORS = ["muzing "] LICENSE = "GPL-3.0-or-later"