Skip to content

Developers Notes

Iosif Spartalis edited this page Apr 25, 2021 · 9 revisions

Packaging

Windows

Prerequisites

  • python3 latest version (not Microsoft Store version)
  • include python executable in PATH system
  1. Clone or unzip the code in a Windows machine folder.
  2. Create a virtual enviroment
python -m venv <name of virutalenv>
  1. activate the virtualenv
  2. 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
  1. update paths in added_files list .spec file
  2. run pyinstaller
pyinstaller qcguiexe.spec

Ubuntu

the instructions in dh-virtualenv cookbook

https://sourceforge.net/projects/vcxsrv/

Clone this wiki locally