-
Notifications
You must be signed in to change notification settings - Fork 3
Developers Notes
Iosif Spartalis edited this page Apr 25, 2021
·
9 revisions
- python3 latest version (not Microsoft Store version)
- include python executable in PATH system
- NSIS - Nullsoft Scriptable Installer for making a self-extract installer
- Clone or unzip the code in a Windows machine folder.
- Create a virtual enviroment
python -m venv <name of virutalenv>
- activate the virtualenv
- install wheel package, the requirements.txt (remove the pytest and weasyprint from it) and pyinstaller
pip install wheel
pip install -r requirements.txt
pip install pyinstaller
- update paths in added_files list .spec file
- run pyinstaller
pyinstaller qctoolgui_windows.spec
- Zip the dist\MipDataQualityControlTool folder
- use the NSIS to create a self-extract installer
- Docker client
- dh-virtualenv
the instructions in dh-virtualenv cookbook