Skip to content

Packaging: Make an .exe distribution

lneuhaus edited this page Jul 18, 2017 · 7 revisions

In the pyrpl root dir:

conda create -y -n py34 python=3.4 numpy scipy paramiko pandas nose pip pyqt qtpy
activate py34
python setup.py develop
pip install pyinstaller
pyinstaller --clean --onefile --distpath dist -n pyrpl ./scripts/run_pyrpl.py

We now use spec files in order to include the fpga bitfile in the bundle. This requires only

pyinstaller pyrpl.spec