Skip to content

Commit

Permalink
update win spec file to include phidget22 dll
Browse files Browse the repository at this point in the history
  • Loading branch information
roasterdave committed Nov 25, 2024
1 parent 9a03188 commit 99ea7b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/artisan-win.spec
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ PYQT_QT_BIN = PYQT_QT + r'\bin'
PYQT_QT_TRANSLATIONS = QT_TRANSL
YOCTO_BIN = PYTHON_PACKAGES + r'\yoctopuce\cdll'
SNAP7_BIN = PYTHON_PACKAGES + r'\snap7\lib'
PHIDGET22_BIN = PYTHON_PACKAGES + r'\Phidget22\.libs'

from PyInstaller.utils.hooks import is_module_satisfies
if is_module_satisfies('scipy >= 1.3.2'):
Expand Down Expand Up @@ -147,7 +148,7 @@ binaries = collect_dynamic_libs('bleak')
block_cipher = None

a = Analysis(['artisan.py'],
pathex=[PYQT_QT_BIN, ARTISAN_SRC, SCIPY_BIN],
pathex=[PYQT_QT_BIN, ARTISAN_SRC, SCIPY_BIN, PHIDGET22_BIN],
binaries=binaries,
datas=datas, # + copy_metadata('tzdata')
hookspath=[],
Expand Down

0 comments on commit 99ea7b4

Please sign in to comment.