mirror of
https://github.com/muziing/Py2exe-GUI.git
synced 2025-01-27 17:02:55 +08:00
muzing
669a056a55
Version
0.1.12
新功能: - 添加通过脚本形式启动 Py2exe-GUI 的功能 - 增加 `PyInstaller命令选项详情` 窗口 - 将 `IconFileDlg` 默认打开目录自动设置为脚本所在目录 修复与增强: - 增强 `SubProcessTool` 调试能力,添加当子进程发生错误时向终端输出的警告信息;调整启动子进程与显示对话框窗口的顺序,确保子进程输出信息能够被捕获; - 增强获取运行时信息机制,获取平台、用户语言等; - 调整部分槽函数位置与组织结构,使能通过 Mypy 检查; 依赖项更新: - 更新数个开发依赖工具版本
Easy-to-use Python GUI packaging tool
English | 简体中文
Introduction
Py2exe-GUI is an assist tool based on PySide6, designed to provide a complete yet easy-to-use GUI for PyInstaller.
It has the following features:
- All options of PyInstaller are supported.
- Call any local Python interpreter with the corresponding environment. No need for repeat installations.(Not realized yet)
- Cross-platform, supports Windows, Linux and macOS.
How to use
Note: Py2exe-GUI is still in the early development stage, the way of using it may change frequently, so please check this instruction frequently.
Option A: Install with pip
First, install PyInstaller in the Python interpreter environment which to be packaged:
pip install pyinstaller
Then install Py2exe-GUI with pip
:
pip install py2exe-gui
Run:
py2exe-gui
You can run py2exe-gui as a package if running it as a script doesn't work:
python -m py2exe_gui # `_`, not `-`
Option B: Run through source code
Clone repo:
git clone https://github.com/muziing/Py2exe-GUI.git
Install Poetry and create a virtual environment:
poetry init
Install the dependencies:
poetry install
Run Py2exe-GUI.py:
cd src
python Py2exe-GUI.py
Structure
All source code is in the src/py2exe_gui directory.
License
Py2exe-GUI
Copyright (C) 2022-2023 muzing
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Description
Languages
Python
100%