File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# -*- mode: python ; coding: utf-8 -*-
22
33from argparse import ArgumentParser
4+ from importlib import resources
45
56from PyInstaller .utils .hooks import collect_submodules
67
@@ -15,11 +16,14 @@ FILE_NAME = f"EphysLink-v{version}"
1516# Collect binding modules.
1617bindings = [binding for binding in collect_submodules ("ephys_link.bindings" ) if binding != "ephys_link.bindings" ]
1718
19+ # Collect Sensapex SDK.
20+ ump_sdk_path = str (resources .files ('sensapex' ).joinpath ('libum.dll' ))
21+
1822# noinspection PyUnresolvedReferences
1923a = Analysis (
2024 ['src\\ ephys_link\\ __main__.py' ],
2125 pathex = [],
22- binaries = [],
26+ binaries = [( ump_sdk_path , 'sensapex' ) ],
2327 datas = [],
2428 hiddenimports = ['engineio.async_drivers.aiohttp' ] + bindings ,
2529 hookspath = [],
Original file line number Diff line number Diff line change 1- __version__ = "2.1.2 "
1+ __version__ = "2.1.3 "
You can’t perform that action at this time.
0 commit comments