packaging options
This commit is contained in:
parent
f331e852f7
commit
1c1d1a57d5
2
hook-flask_bootstrap.py
Normal file
2
hook-flask_bootstrap.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
from PyInstaller.utils.hooks import collect_data_files
|
||||
datas = collect_data_files('flask_bootstrap')
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
a = Analysis(
|
||||
['screenshare.py'],
|
||||
pathex=[],
|
||||
pathex=['.'],
|
||||
binaries=[],
|
||||
datas=[],
|
||||
datas=[('static', 'static'), ('templates', 'templates')],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
hookspath=['.'],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
|
@ -19,13 +19,16 @@ pyz = PYZ(a.pure)
|
|||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.datas,
|
||||
[],
|
||||
exclude_binaries=True,
|
||||
name='screenshare',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=True,
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
|
@ -33,12 +36,3 @@ exe = EXE(
|
|||
codesign_identity=None,
|
||||
entitlements_file=None,
|
||||
)
|
||||
coll = COLLECT(
|
||||
exe,
|
||||
a.binaries,
|
||||
a.datas,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
name='screenshare',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user