Skip to content

Commit

Permalink
pyinstaller spec
Browse files Browse the repository at this point in the history
  • Loading branch information
seb26 committed Mar 27, 2024
1 parent b9e25b4 commit 23fea14
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ MANIFEST
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# *.spec

# Installer logs
pip-log.txt
Expand Down
45 changes: 45 additions & 0 deletions renderwatch_daemon.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# -*- mode: python ; coding: utf-8 -*-


a = Analysis(
['renderwatch_daemon.py'],
pathex=[
'.venv/lib/python3.10/site-packages',
],
binaries=[],
datas=[
('renderwatch/logging.yml', 'renderwatch'),
('renderwatch/actions.schema.yml', 'renderwatch'),
('config.templates/config.template.yml', 'config.templates'),
('config.templates/actions.template.yml', 'config.templates'),
('lib/yamale/VERSION', 'yamale'),
],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
)
pyz = PYZ(a.pure)

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

0 comments on commit 23fea14

Please sign in to comment.