-
Notifications
You must be signed in to change notification settings - Fork 4
Developers Notes
Iosif Spartalis edited this page Sep 8, 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 (inluded_files and pathex) 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
- install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Download and install the latest python3 version from the official python.org website. There are some issues with tkinter with the python versions installed through the apple store. Also, don't install python through homebrew.
- Install cairo, Pango and GDK-PixBuf using Homebrew:
brew install cairo pango gdk-pixbuf libffi
- Clone or unzip the code in a Windows machine folder.
- Create a virtual enviroment
python3 -m venv <name of virutalenv>
- activate the virtualenv
- install wheel package, the requirements.txt (remove the pytest and weasyprint from it) and pyinstaller
pip3 install wheel
pip3 install -r requirements.txt
pip3 install pyinstaller
- update paths (inluded_files and pathex) in added_files list .spec file
- run pyinstaller
pyinstaller qctoolgui_macos.spec
- Docker client
- dh-virtualenv
the instructions in dh-virtualenv cookbook