forked from JasonGlazer/pyExpandObjects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
linux_onefile_main.spec
34 lines (31 loc) · 1.06 KB
/
linux_onefile_main.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- mode: python ; coding: utf-8 -*-
import os
block_cipher = None
spec_root = os.path.abspath(SPECPATH)
a = Analysis(['src/main.py'],
pathex=[os.path.join(spec_root, 'src')],
binaries=[],
datas=[
('src/resources/Energy+.schema.epJSON', 'resources'),
('src/resources/template_expansion_structures.yaml', 'resources'),
('logs/logging.conf', 'logs')],
hiddenimports=['custom_exceptions', 'epjson_handler', 'expand_objects', 'hvac_template', 'logger'],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='pyExpandObjects',
debug=False,
strip=False,
upx=True,
console=True )