Packaging into an executable

The project takes advantage of PyInstaller to package the application into an executable.

The output binary and all embedded dependencies is located into a subfolder named: dist/DicoGIS_{version}_{operating-system}_Python{python-version}.

Windows

Comply with development requirements before to run.

# Generates MS Version Info
python .\builder\version_info_templater.py

# Generates MS Executable
python -O .\builder\pyinstaller_build_windows.py

To run it, double-click on the executable file (*.exe).

Ubuntu

Comply with development requirements before to run.

# Generates binary executable
python -O ./builder/pyinstaller_build_ubuntu.py

To run it, for example:

cd dist/DicoGIS_3-0-0_Ubuntu20-04_64bit_Python3-8-5/
./DicoGIS_3-0-0_Ubuntu20-04_64bit_Python3-8-5