app.spec
This commit is contained in:
parent
700fe41c15
commit
6e7684cc8a
2 changed files with 50 additions and 0 deletions
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
|
|
@ -22,6 +22,7 @@
|
||||||
"cookiesfrombrowser",
|
"cookiesfrombrowser",
|
||||||
"copyts",
|
"copyts",
|
||||||
"cronsim",
|
"cronsim",
|
||||||
|
"datas",
|
||||||
"daterange",
|
"daterange",
|
||||||
"dotenv",
|
"dotenv",
|
||||||
"euuo",
|
"euuo",
|
||||||
|
|
@ -32,6 +33,8 @@
|
||||||
"fribidi",
|
"fribidi",
|
||||||
"getpid",
|
"getpid",
|
||||||
"gpac",
|
"gpac",
|
||||||
|
"hiddenimports",
|
||||||
|
"hookspath",
|
||||||
"httpx",
|
"httpx",
|
||||||
"levelno",
|
"levelno",
|
||||||
"libcurl",
|
"libcurl",
|
||||||
|
|
@ -46,6 +49,7 @@
|
||||||
"muxdelay",
|
"muxdelay",
|
||||||
"nodesc",
|
"nodesc",
|
||||||
"noprogress",
|
"noprogress",
|
||||||
|
"pathex",
|
||||||
"plexmatch",
|
"plexmatch",
|
||||||
"postprocessor",
|
"postprocessor",
|
||||||
"preferredcodec",
|
"preferredcodec",
|
||||||
|
|
|
||||||
46
app.spec
Normal file
46
app.spec
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
# app.spec
|
||||||
|
|
||||||
|
block_cipher = None
|
||||||
|
|
||||||
|
a = Analysis(
|
||||||
|
['app/native.py'],
|
||||||
|
pathex=[],
|
||||||
|
binaries=[],
|
||||||
|
datas=[
|
||||||
|
('ui/exported', 'ui/exported'),
|
||||||
|
('app/migrations', 'migrations'),
|
||||||
|
],
|
||||||
|
hiddenimports=[],
|
||||||
|
hookspath=[],
|
||||||
|
runtime_hooks=[],
|
||||||
|
excludes=[],
|
||||||
|
win_no_prefer_redirects=False,
|
||||||
|
win_private_assemblies=False,
|
||||||
|
cipher=block_cipher,
|
||||||
|
)
|
||||||
|
|
||||||
|
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
||||||
|
|
||||||
|
exe = EXE(
|
||||||
|
pyz,
|
||||||
|
a.scripts,
|
||||||
|
[],
|
||||||
|
exclude_binaries=True,
|
||||||
|
name='ytptube-native',
|
||||||
|
debug=False,
|
||||||
|
bootloader_ignore_signals=False,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
console=False,
|
||||||
|
)
|
||||||
|
|
||||||
|
coll = COLLECT(
|
||||||
|
exe,
|
||||||
|
a.binaries,
|
||||||
|
a.zipfiles,
|
||||||
|
a.datas,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
name='ytptube-native'
|
||||||
|
)
|
||||||
Loading…
Reference in a new issue