Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions tool/pyinstaller/synodic.spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# -*- mode: python ; coding: utf-8 -*-

from PyInstaller.utils.hooks import collect_all, copy_metadata
from pathlib import Path
from PyInstaller.utils.hooks import copy_metadata

SPEC_DIR = Path(SPECPATH)
REPO_ROOT = SPEC_DIR.parent.parent

# Collect porringer and its plugins with metadata
datas = [('../../data', 'data')]
datas = [(str(REPO_ROOT / 'data'), 'data')]
hiddenimports = []

# Add porringer metadata so entry points work
Expand Down Expand Up @@ -33,14 +37,14 @@ hiddenimports += [
]

a = Analysis(
['../../synodic_client/application/qt.py'],
[str(REPO_ROOT / 'synodic_client' / 'application' / 'qt.py')],
pathex=[],
binaries=[],
datas=datas,
hiddenimports=hiddenimports,
hookspath=[],
hooksconfig={},
runtime_hooks=['rthook_no_console.py'],
runtime_hooks=[str(SPEC_DIR / 'rthook_no_console.py')],
excludes=[],
noarchive=False,
)
Expand Down