-
Notifications
You must be signed in to change notification settings - Fork 112
Packaging: Make an .exe distribution
lneuhaus edited this page Jul 19, 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
pyi-makespec --onefile -n pyrpl ./scripts/run_pyrpl.py
# add datas section to the file...
# datas=[('pyrpl/fpga/red_pitaya.bin', 'pyrpl/fpga'),
('pyrpl/monitor_server/monitor_server*',
'pyrpl/monitor_server')],
pyinstaller pyrpl.spec