-
Notifications
You must be signed in to change notification settings - Fork 11
/
dicom-validator.spec
83 lines (74 loc) · 1.83 KB
/
dicom-validator.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# This file tells PyInstaller how to compile.
# From PowerShell prompt, use:
# pyinstaller dicom-validator.spec -y
# -*- mode: python ; coding: utf-8 -*-
from PyInstaller.utils.hooks import collect_submodules
from PyInstaller.utils.hooks import collect_all
datas = []
binaries = []
hiddenimports = []
hiddenimports += collect_submodules('pydicom')
tmp_ret = collect_all('lxml')
datas += tmp_ret[0]; hiddenimports += tmp_ret[2]
validate_iods_a = Analysis(
['dicom_validator/validate_iods.py'],
pathex=[],
binaries=binaries,
datas=datas,
hiddenimports=hiddenimports,
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
)
dump_dcm_info_a = Analysis(
['dicom_validator/dump_dcm_info.py'],
pathex=[],
binaries=binaries,
datas=datas,
hiddenimports=hiddenimports,
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
)
validate_iods_pyz = PYZ(validate_iods_a.pure)
validate_iods_exe = EXE(
validate_iods_pyz,
validate_iods_a.scripts,
validate_iods_a.binaries,
validate_iods_a.datas,
[],
name='validate_iods',
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,
)
dump_dcm_info_pyz = PYZ(dump_dcm_info_a.pure)
dump_dcm_info_exe = EXE(
dump_dcm_info_pyz,
dump_dcm_info_a.scripts,
dump_dcm_info_a.binaries,
dump_dcm_info_a.datas,
[],
name='dump_dcm_info',
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,
)