mirror of
https://github.com/muziing/Py2exe-GUI.git
synced 2025-01-13 16:42:54 +08:00
muzing
ea39c09317
Version
0.2.1
新功能: - 界面上许多控件增加 ToolTip 提示,显示对应的 PyInstaller 选项详情; - `--hidden-import` 添加“隐式导入”功能; - 增加浏览当前 Python 环境中所有已安装库的窗口对话框 `PkgBrowserDlg`; 重大修改: - 重新实现 `PyEnv` 类,不再仅是简单存储可执行文件的数据类,还重构集成了获取版本、已安装包等等功能; - 将 `PyinstallerArgs` 枚举类重命名为 `PyInstOpt`; - `PackagingTask` 实例属性中改用字典存储打包任务参数; 修复与优化: - 优化 `QtFileOpen` 与 `PyQTextFileIo`,有了更完善的异常机制; - 其他异常处理与优化;
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
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%