-
Notifications
You must be signed in to change notification settings - Fork 2
/
VisoarAgExplorer_win.spec
81 lines (73 loc) · 3.22 KB
/
VisoarAgExplorer_win.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
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
#pf_foldr=' c:\\users\\drone\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\\localcache\\local-packages\\python38\\site-packages'
pf_foldr='C:\\Program Files\\Python38\\Lib\\site-packages'
pyqtPath = pf_foldr+'\\PyQt5\\Qt5\\bin\\'
pyqtPath2 = pf_foldr+'\\PyQt5\\'
visusPath = pf_foldr+'\\OpenVisus\\'
relDir = 'C:\\tools\\VisoarAgExplorer\\'
added_files = [
( 'token.json', '.' ),
( 'userFileHistory.xml', '.' ),
( 'client_secret_credentials.json', '.' ),
( 'client_settings.yaml', '.' ),
( 'README.md', '.' ),
( 'Roboto-Regular.ttf', '.' ),
( 'scripts\\*.py', 'scripts' ),
( 'slampy\\*', 'slampy' ),
( '*.py', '.' ),
('icons\\*', 'icons'),
('data\\*', '.'),
('StandAloneMAPIR_CameraController\\*','StandAloneMAPIR_CameraController')
]
mybinaries2=[('C:\\Program Files\\PostgreSQL\\14\\bin\\libpq.dll','.'),
('C:\\Program Files\\Python38\\Lib\\site-packages\\pyzbar\\libiconv.dll', '.'),
('C:\\Program Files\\Python38\\Lib\\site-packages\\pyzbar\\libzbar-64.dll', '.'),
('C:\\Program Files\\Python38\\hidapi.dll', '.'),
(visusPath+'bin\\VisusGui.dll' ,'OpenVisus\\bin\\'),
(visusPath+'bin\\VisusKernel.dll' ,'OpenVisus\\bin\\'),
(visusPath+'bin\\VisusDataflow.dll','OpenVisus\\bin\\'),
(visusPath+'bin\\VisusKernel.dll','OpenVisus\\bin\\'),
(visusPath+'bin\\VisusDataflow.dll','OpenVisus\\bin\\' ),
(visusPath+'bin\\VisusDb.dll','OpenVisus\\bin\\' ),
(visusPath+'bin\\VisusNodes.dll','OpenVisus\\bin\\'),]
a = Analysis(['VisoarAgExplorer.py'],
pathex=[visusPath,visusPath+'bin\\',pyqtPath2,'C:\\Program Files\\PostgreSQL\\14\\bin', relDir+'StandAloneMAPIR_CameraController',relDir+'slampy', relDir+'scripts', relDir+'slampy\\micasense\\',],
binaries=mybinaries2,
datas=added_files,
hiddenimports=['PyQt5','PyQt5.QtWidgets','PyQt5.QtGui','PyQt5.QtCore', ],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
# pathex=[pyqtPath2,'C:\\Program Files\\PostgreSQL\\14\\bin', 'C:\\tools\\tmp', pf_foldr+'\\OpenVisus\\bin\\', pyqtPath, relDir+'StandAloneMAPIR_CameraController',relDir+'slampy', relDir+'scripts', relDir+'slampy\\micasense\\',pf_foldr+'\\OpenVisus\\', relDir,pf_foldr],
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
[('v', None, 'OPTION')],
exclude_binaries=True,
name='VisoarAgExplorer.exe',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir='C:\\tools\\tmp',
console=True,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='icons\\visoareye.ico',)
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
name='VisoarAgExplorer.app',
icon='icons\\visoareye.ico',
bundle_identifier=None)