Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 684 Bytes

DO_IT_YOURSELF.md

File metadata and controls

32 lines (23 loc) · 684 Bytes

🛠️ Do It Yourself Instructions

Make sure to have an up-to-date version of Python 3 installed.

🧩 Install Python Dependencies

Install project dependencies from requirements.txt with pip

pip install -r requirements.txt

🎨 Edit GUI (optional)

Make changes to dialog.ui with Qt Designer

qt5-tools designer main.ui

‍👨‍💻 Build Binary

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.