Skip to content
This repository was archived by the owner on Jun 19, 2026. It is now read-only.

Compile Pygafi into an executable

LariVille edited this page Apr 16, 2024 · 3 revisions

Compile Pygafi into an executable


Note

Pygafi is already compiled in the releases. You might use this if you want to make modifications of this program.


What you need:


Clone the repository:

In a terminal, type git clone https://github.com/lariville/pygafi/ It will clone all the elements of this repository into a folder.


Make your modifications:


Compile it into an executable:

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.


Available Pages:

Usage Guide
Info Pages
Other Pages

Tip

Latest Version: v0.4-beta


Clone this wiki locally