Skip to content

Commit

Permalink
Version 0.1.8
Browse files Browse the repository at this point in the history
修复:打包子进程工作目录错误、PyInstaller调用失败时无任何反馈;
优化:常量使用枚举值、优化参数传递、优化`SubProcessTool`工具类;
新增:英文版“关于”页;
  • Loading branch information
muziing committed Dec 7, 2022
1 parent 5e010b4 commit 5148b8a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 25 deletions.
55 changes: 36 additions & 19 deletions docs/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -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 与美化
- [ ] 动画效果
- [ ] 翻译与国际化
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
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"
Expand Down
2 changes: 1 addition & 1 deletion src/py2exe_gui/Constants/app_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"""

NAME = "Py2exe-GUI"
VERSION = "0.1.7"
VERSION = "0.1.8"
AUTHORS = ["muzing <[email protected]>"]
LICENSE = "GPL-3.0-or-later"

0 comments on commit 5148b8a

Please sign in to comment.