Compile OctaDist to EXE
Program source code can be compiled as a standalone executable file (*.exe). Compilation can be completed easily using PyInstaller.
Upgrade pip:
pip install pip --upgrade
Install the latest version of PyInstaller:
pip install pyinstaller --upgrade
Check the version of PyInstaller:
pyinstaller --version
Change directory to
octadist
subdirectory, wheremain.py
is, for example:cd OctaDist-*-src-x86-64/octadist/
Compile a standalone, like this:
pyinstaller --onefile --windowed -n OctaDist-*-src-x86-64 main.py
The standalone executable will be build in
dist
directory.
Note
Other useful options for building executable can be found at PyInstaller manual.