-
-
Notifications
You must be signed in to change notification settings - Fork 14
Compiling
bennyscripts edited this page May 19, 2025
·
5 revisions
Before compiling Ghost you must have already set-up ghost to be run from source so follow the steps here. You will also require pyinstaller which is part of requirements.txt. Once you're ready, follow the steps below on how to compile Ghost!
You will need to work inside your virtual environment to insure pyinstaller uses the correct libraries.
Windows
.venv\Scripts\activateLinux & macOS
source .venv/bin/activateGhost comes with a compile script for easy compilation using pyinstaller. This script works on Windows, Linux and macOS!
python3 compile.pyOr on Windows:
py compile.pyYour compiled binary will now be in the dist/ folder and is ready to run! If you experience issues with the compiled version, run it through a terminal so you can see the debugging messages!