Make sure to have an up-to-date version of Python 3 installed.
Install project dependencies from requirements.txt
with pip
pip install -r requirements.txt
Make changes to dialog.ui
with Qt Designer
qt5-tools designer main.ui
Install PyInstaller with pip
pip install pyinstaller
Create standalone binary with PyInstaller
pyinstaller --onedir --noconsole snap_lens_tool.py
Use --onefile
instead of --onedir
to output a single file.
The binary output files can be found under ./dist
.