Skip to main content

GUI for PyInstaller, based on PySide6

Project description

Py2exe-GUI Logo

Easy-to-use Python GUI packaging tool

GitHub Repo stars Python Version PyPI Version PyPI Downloads PySide Version Code style: black Checked with mypy

English | 简体中文

Introduction

Py2exe-GUI is an assist tool based on PySide6, designed to provide a complete yet easy-to-use GUI for PyInstaller.

Screenshot of the interface

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:

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

GPLv3

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/>.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.


![Py2exe-GUI Logo](docs/source/images/py2exe-gui_logo_big.png)

<h2 align="center">强大易用的 Python 图形界面打包工具</h2>

<p align="center">
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/muziing/Py2exe-GUI">
<img alt="Python Version" src="https://img.shields.io/pypi/pyversions/py2exe-gui">
<a href="https://pypi.org/project/py2exe-gui/"><img alt="PyPI Version" src="https://img.shields.io/pypi/v/py2exe-gui"></a>
<a href="https://pypi.org/project/py2exe-gui/"><img alt="PyPI Downloads" src="https://img.shields.io/pypi/dm/py2exe-gui.svg?label=PyPI%20downloads"></a>
<a href="https://doc.qt.io/qtforpython/index.html"><img alt="PySide Version" src="https://img.shields.io/badge/PySide-6.6-blue"></a>
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
<a href="https://mypy-lang.org/"><img alt="Checked with mypy" src="https://img.shields.io/badge/mypy-checked-blue"></a>
</p>
<p align="center">
<a href="README.md">English</a> | 简体中文
</p>

## 简介

Py2exe-GUI 是一个基于 [PySide6](https://doc.qt.io/qtforpython/index.html) 开发的辅助工具,旨在为 [PyInstaller](https://pyinstaller.org/) 提供完整易用的图形化界面,方便用户进行 Python 项目的打包。

![界面截图](docs/source/images/Py2exe-GUI_v0.1.0_screenshot.png)

有如下特性:

- 完全图形化界面,易用
- 支持 PyInstaller 的全部选项
- (暂未实现)可以调用本地任一 Python 解释器与对应环境(调用该解释器的 `python3 -m PyInstaller myscript.py` 即可),无需在每个待打包的解释器环境中重复安装
- 跨平台,支持 Windows、Linux、MacOS

## 如何使用

> 注意:Py2exe-GUI 尚处早期开发阶段,使用方式可能频繁变化,注意经常查阅此使用说明。

### 方式1:通过 `pip` 安装

首先在待打包的 Python 解释器环境中安装 PyInstaller:

```shell
pip install pyinstaller

然后通过 pip 安装 Py2exe-GUI:

pip install py2exe-gui

运行

python -m py2exe_gui  # 注意连字符为_

方式2:通过仓库源码运行

克隆仓库:

git clone https://github.com/muziing/Py2exe-GUI.git

安装 Poetry 并创建虚拟环境

poetry init

安装依赖项:

poetry install

运行 src 目录下的 Py2exe-GUI.py:

cd src
python  Py2exe-GUI.py

项目结构

所有源代码均在 py2exe_gui 目录下

开源许可

GPLv3

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/>.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py2exe_gui-0.1.11.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

py2exe_gui-0.1.11-py3-none-any.whl (42.5 kB view details)

Uploaded Python 3

File details

Details for the file py2exe_gui-0.1.11.tar.gz.

File metadata

  • Download URL: py2exe_gui-0.1.11.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.6 Linux/6.5.13-1-MANJARO

File hashes

Hashes for py2exe_gui-0.1.11.tar.gz
Algorithm Hash digest
SHA256 8a28b33cd73d60af9ab3d115385f7ad6c0099f1471a8b40b249f914e9ad653ca
MD5 6de2965837b1f8390583ecc4f1e527af
BLAKE2b-256 583b18d6bba344249a5b84f0475451700bc1fa8389d983ee7b8a1b1bbd17c288

See more details on using hashes here.

File details

Details for the file py2exe_gui-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: py2exe_gui-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 42.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.6 Linux/6.5.13-1-MANJARO

File hashes

Hashes for py2exe_gui-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 6121399a201ef6fc5a13b2ad55d48ed86adf0e8391f9aac757bf2c59b1ff4ccf
MD5 be1ff9116ac711b88d28c980ec6d9125
BLAKE2b-256 132b2a3a0d04650e2c02365bee35e507f68ce0adefaafb1f3a44f5bd8dccfa6c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page