1
|
# -*- mode: python -*-
|
2
|
|
3
|
winsparkle = '.venv\\Lib\\site-packages\\pywinsparkle\\libs\\x64\\WinSparkle.dll'
|
4
|
block_cipher = None
|
5
|
|
6
|
a = Analysis(['.\\DTI_PID\\DTI_PID\\App.py','.\\DTI_PID\\DTI_PID\\TrainingImageListDialog.py'],
|
7
|
pathex=['.\\DTI_PID\\DTI_PID', '.\\DTI_PID\\DTI_PID\\Commands', '.\\DTI_PID\\DTI_PID\\Shapes', '.\\DTI_PID\\DTI_PID\\UI'],
|
8
|
binaries=[('.\\DTI_PID\\DTI_PID\\bin64\\*.exe', 'bin64'),
|
9
|
('.\\DTI_PID\\DTI_PID\\bin64\\*.dll', 'bin64'),
|
10
|
('.\\DTI_PID\\DTI_PID\\cv2\\*.dll', 'cv2'),
|
11
|
('.\\DTI_PID\\DTI_PID\\potrace.exe', '.'),
|
12
|
(winsparkle, '.')
|
13
|
],
|
14
|
datas=[('.\\DTI_PID\\DTI_PID\\*.qss', '.'),
|
15
|
('.\\DTI_PID\\DTI_PID\\*.pdf', '.'),
|
16
|
('.\\*.html', '.'),
|
17
|
('.\\*.BMP', '.'),
|
18
|
('.\\DTI_PID\\DTI_PID\\db\\*.db', 'db'),
|
19
|
('.\\DTI_PID\\DTI_PID\\db\\*.syl', 'db'),
|
20
|
('.\\DTI_PID\\DTI_PID\\translate\\*.qm', 'translate'),
|
21
|
('.\\DTI_PID\\DTI_PID\\Scripts\\*.sql', 'Scripts'),
|
22
|
('.\\DTI_PID\\DTI_PID\\Scripts\\MSSQL\\*.sql', 'Scripts\\MSSQL'),
|
23
|
('.\\DTI_PID\\DTI_PID\\Datasheets\\*.xlsx', 'Datasheets'),
|
24
|
('.\\DTI_PID\\DTI_PID\\res\\*.svg', 'res'),
|
25
|
('.\\DTI_PID\\DTI_PID\\UI\\*.ui', 'UI'),
|
26
|
('.\\DTI_PID\DTI_PID\\Tesseract-OCR\\*.*', 'Tesseract-OCR'),
|
27
|
('.\\DTI_PID\DTI_PID\\Tesseract-OCR\\doc\\*', 'Tesseract-OCR\\doc'),
|
28
|
('.\\DTI_PID\DTI_PID\\Tesseract-OCR\\tessdata\\*.*', 'Tesseract-OCR\\tessdata'),
|
29
|
('.\\DTI_PID\DTI_PID\\Tesseract-OCR\\tessdata\\configs\\*', 'Tesseract-OCR\\tessdata\\configs'),
|
30
|
('.\\DTI_PID\DTI_PID\\Tesseract-OCR\\tessdata\\tessconfigs\\*', 'Tesseract-OCR\\tessdata\\tessconfigs')],
|
31
|
hiddenimports=['tkinter', 'getmac'],
|
32
|
hookspath=[],
|
33
|
runtime_hooks=[],
|
34
|
excludes=[],
|
35
|
win_no_prefer_redirects=False,
|
36
|
win_private_assemblies=False,
|
37
|
cipher=block_cipher,
|
38
|
noarchive=False)
|
39
|
pyz = PYZ(a.pure, a.zipped_data,
|
40
|
cipher=block_cipher)
|
41
|
exe = EXE(pyz,
|
42
|
a.scripts,
|
43
|
[],
|
44
|
exclude_binaries=True,
|
45
|
name='ID2',
|
46
|
debug=False,
|
47
|
bootloader_ignore_signals=False,
|
48
|
strip=False,
|
49
|
upx=True,
|
50
|
console=False,
|
51
|
icon='ID2.ico',
|
52
|
version='version.rc')
|
53
|
coll = COLLECT(exe,
|
54
|
a.binaries,
|
55
|
a.zipfiles,
|
56
|
a.datas,
|
57
|
strip=False,
|
58
|
upx=True,
|
59
|
name='App')
|