This repository was archived by the owner on Jun 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Compile Pygafi into an executable
LariVille edited this page Apr 16, 2024
·
3 revisions
Note
Pygafi is already compiled in the releases. You might use this if you want to make modifications of this program.
In a terminal, type git clone https://github.com/lariville/pygafi/
It will clone all the elements of this repository into a folder.
- GUI Elements are located in the GUI folder,
gui.pyis the main program, it uses the content of the folderassets. - Output Generators are located inside the folders Windows-Output-Generators and Windows-Output-Generators.
- Non GUI elements are located in the root of the repository.
In a terminal, you can run the following command to compile the GUI:
Windows: python3 -m PyInstaller --onefile --noconsole --add-data "assets;assets" gui.py
Linux: python3 -m PyInstaller --onefile --noconsole --add-data "assets:assets" gui.py
--onefile compiles the program into only one file.
--noconsole removes the ability to view the console.
--add-data "assets;assets" includes the folder assets in the program, which is necessary for the program to run.
Usage Guide
Info Pages
Other Pages
Tip
Latest Version: v0.4-beta