pip install virtualenv
virtualenv .venv
-
Windows
call .venv\Scripts\activate
-
Linux
source .venv/bin/activate
pip install -r requirements.txt
python src/main/python/main.py
# run
fbs run
# freeze
fbs freeze
# Modify main.py: set USE_PYINSTALLER to True
USE_PYINSTALLER = True
# Make excutable file
cd src/main/python
pyinstaller setup_exe.spec