Prepare Windows portable packaging
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# PyInstaller one-file Windows build configuration.
|
||||
# Build from the repository root with: pyinstaller --clean --noconfirm DataLoom.spec
|
||||
|
||||
from PyInstaller.utils.hooks import collect_submodules
|
||||
|
||||
hiddenimports = collect_submodules("PySide6")
|
||||
|
||||
a = Analysis(
|
||||
["src/dataloom/app.py"],
|
||||
pathex=["src"],
|
||||
binaries=[],
|
||||
datas=[],
|
||||
hiddenimports=hiddenimports,
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
noarchive=False,
|
||||
)
|
||||
pyz = PYZ(a.pure)
|
||||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.datas,
|
||||
[],
|
||||
name="DataLoom",
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
console=False,
|
||||
)
|
||||
Reference in New Issue
Block a user