Skip to content

Commit

Permalink
Add the pyinstaller spec file so that I don't have to re-learn how to…
Browse files Browse the repository at this point in the history
… compile a python script when I update this again in 6 months.
  • Loading branch information
jacione committed Oct 31, 2023
1 parent f8d1c13 commit c161010
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions cdi_live.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# -*- mode: python ; coding: utf-8 -*-


a = Analysis(
['src\\cdi_live.py'],
pathex=['src', 'venv/Lib/site-packages'],
binaries=[],
datas=[
('example_data/*.tif', 'example_data'),
('LICENSE.txt', '.'),
('README.md', '.')
],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
)
pyz = PYZ(a.pure)

exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='cdi_live',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='cdi_live',
)

0 comments on commit c161010

Please sign in to comment.