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(
|
a = Analysis(
|
||||||
['screenshare.py'],
|
['screenshare.py'],
|
||||||
pathex=[],
|
pathex=['.'],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[],
|
datas=[('static', 'static'), ('templates', 'templates')],
|
||||||
hiddenimports=[],
|
hiddenimports=[],
|
||||||
hookspath=[],
|
hookspath=['.'],
|
||||||
hooksconfig={},
|
hooksconfig={},
|
||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=[],
|
excludes=[],
|
||||||
|
@ -19,13 +19,16 @@ pyz = PYZ(a.pure)
|
||||||
exe = EXE(
|
exe = EXE(
|
||||||
pyz,
|
pyz,
|
||||||
a.scripts,
|
a.scripts,
|
||||||
|
a.binaries,
|
||||||
|
a.datas,
|
||||||
[],
|
[],
|
||||||
exclude_binaries=True,
|
|
||||||
name='screenshare',
|
name='screenshare',
|
||||||
debug=False,
|
debug=False,
|
||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
runtime_tmpdir=None,
|
||||||
console=True,
|
console=True,
|
||||||
disable_windowed_traceback=False,
|
disable_windowed_traceback=False,
|
||||||
argv_emulation=False,
|
argv_emulation=False,
|
||||||
|
@ -33,12 +36,3 @@ exe = EXE(
|
||||||
codesign_identity=None,
|
codesign_identity=None,
|
||||||
entitlements_file=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