Skip to content

This program is designed to package Python scripts using Pyinstaller 6.0. Users can input parameters through various buttons on the interface without the need for command-line usage. 这是一个通过使用Pyinstaller6.0来打包python脚本的程序,用户可通过界面中的各按钮来进行输入而无需使用命令行

Notifications You must be signed in to change notification settings

Jf-JIN/Pyinstaller-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Pyinstaller_exe

中文请查看README_中文.md

软件简介 | Software Introduction:

This program is designed to package Python scripts using Pyinstaller 6.0. Users can input parameters through various buttons on the interface without the need for command-line usage. The program can either print the execution commands or directly perform the packaging operation.

The initial motivation for developing this software was the author's desire to package Python scripts into executable files (exe). However, dealing with lengthy command-line parameters and paths proved to be cumbersome, prompting the development of this convenient tool.

The software may still be in the process of refinement, and there might be bugs. Your feedback and suggestions are welcome!


使用方法 | Usage Instructions


开发说明 | Development Notes:

GUI design using PyQt5

开发进度 | Development Progress:
  • Completed so far: 41 functionalities of Pyinstaller 6.0, error prompt during runtime, synchronized console output, updated information in the information panel, display of current effective parameters, command prompt printing functionality, language switch functionality, built-in language packs, right-click file selection, Conda environment selection, automatic configuration of startup screen files.

  • In progress: Currently refactoring the code

  • Not completed: ......

开发所用资源及参考 | Resources and References:
版本说明 | Version Descriptions:
  • v4.0:

    • Currently refactoring the code
  • v3.2:

    • Added a software configuration file, currently only recording language options. After launching the software, the language will be set to the language changed last time.

    • Added the option to locate files through right-click.

    • Fixed the issue where project files could not be deleted when the output location was in another folder.

    • Added the option to choose Conda environments.

    • Added Conda functionality for installing, checking versions, and providing help for Pyinstaller.

    • Fixed some display errors in the output commands.

    • Added built-in language packs (Simplified Chinese and English).

    • Corrected some content in the language packs.

    • Added automatic generation of references for the startup screen.

    • Fixed the issue of incomplete deletion of the .build folder.

    • Resolved a crash issue when clearing input with an empty Python script.

    • Fixed a crash issue when deselecting a Python script after selection.

    • Addressed display differences in different resolutions.

    • Changed the command line project order to avoid antivirus warnings during packaging. Now, the Python script is placed after PyInstaller and followed by --onedir or --onefile (the effectiveness is currently unknown).

  • Fixed the issue where the automatic selection of Python files couldn't locate the main function and had incorrect order.
  • v3.1:
    • Added open environment variables, update pip functionalities.
    • Added language switch functionality.
    • Fixed a bug in certain functions where the output commands were incorrect.
  • v3.0: Window Interface Version. Redesigned the window interface based on v2.0.
    • Added console display, information panel display.
    • Completed all 41 basic functionalities of Pyinstaller.
    • Added automatic detection of the default py file (main.py).
    • Added command printing and parameter display functionalities.
  • v2.0: Window Interface Version. Transformed the interface of v1.0 into a window interface, added options to add application icons and files. Can automatically detect and install Pyinstaller, integrated pyuic5 and pyrcc5 for UI file to py and QRC file to py conversion.
  • v1.0: Command Prompt Version. Able to list all Python files in the current directory, select the Python file to package by number, and choose whether to hide the console.
  • Due to the lack of project management in the early stages, versions v1.0, v2.0, and v3.0 are missing.

注意事项 | Notes:

None

About

This program is designed to package Python scripts using Pyinstaller 6.0. Users can input parameters through various buttons on the interface without the need for command-line usage. 这是一个通过使用Pyinstaller6.0来打包python脚本的程序,用户可通过界面中的各按钮来进行输入而无需使用命令行

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages