[Update] Build scripts and configuration: Added new build and install scripts, updated versioning in config files, and improved project structure.
This commit is contained in:
53
spec/backend.spec
Normal file
53
spec/backend.spec
Normal file
@@ -0,0 +1,53 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
|
||||
a = Analysis(
|
||||
['..\\src-python\\mainloop.py'],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
datas=[
|
||||
('./../src-python/models/overlay/fonts', 'fonts/'),
|
||||
('./../src-python/models/translation/prompt', 'prompt/'),
|
||||
('./../src-python/models/translation/languages', 'languages/'),
|
||||
('./../.venv/Lib/site-packages/zeroconf', 'zeroconf/'),
|
||||
('./../.venv/Lib/site-packages/openvr', 'openvr/'),
|
||||
('./../.venv/Lib/site-packages/faster_whisper', 'faster_whisper/'),
|
||||
('./../.venv/Lib/site-packages/hf_xet', 'hf_xet/')
|
||||
],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=['pandas', 'matplotlib', 'PyQt5'],
|
||||
noarchive=False,
|
||||
optimize=0,
|
||||
)
|
||||
pyz = PYZ(a.pure)
|
||||
|
||||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
[],
|
||||
exclude_binaries=True,
|
||||
name='VRCT-sidecar-x86_64-pc-windows-msvc',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
console=True,
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
target_arch=None,
|
||||
codesign_identity=None,
|
||||
entitlements_file=None,
|
||||
icon=[],
|
||||
)
|
||||
coll = COLLECT(
|
||||
exe,
|
||||
a.binaries,
|
||||
a.datas,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
name='.',
|
||||
)
|
||||
53
spec/backend_cuda.spec
Normal file
53
spec/backend_cuda.spec
Normal file
@@ -0,0 +1,53 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
|
||||
a = Analysis(
|
||||
['..\\src-python\\mainloop.py'],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
datas=[
|
||||
('./../src-python/models/overlay/fonts', 'fonts/'),
|
||||
('./../src-python/models/translation/prompt', 'prompt/'),
|
||||
('./../src-python/models/translation/languages', 'languages/'),
|
||||
('./../.venv_cuda/Lib/site-packages/zeroconf', 'zeroconf/'),
|
||||
('./../.venv_cuda/Lib/site-packages/openvr', 'openvr/'),
|
||||
('./../.venv_cuda/Lib/site-packages/faster_whisper', 'faster_whisper/'),
|
||||
('./../.venv/Lib/site-packages/hf_xet', 'hf_xet/')
|
||||
],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=['pandas', 'matplotlib', 'PyQt5'],
|
||||
noarchive=False,
|
||||
optimize=0,
|
||||
)
|
||||
pyz = PYZ(a.pure)
|
||||
|
||||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
[],
|
||||
exclude_binaries=True,
|
||||
name='VRCT-sidecar-x86_64-pc-windows-msvc',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
console=True,
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
target_arch=None,
|
||||
codesign_identity=None,
|
||||
entitlements_file=None,
|
||||
icon=[],
|
||||
)
|
||||
coll = COLLECT(
|
||||
exe,
|
||||
a.binaries,
|
||||
a.datas,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
name='.',
|
||||
)
|
||||
Reference in New Issue
Block a user