-
Notifications
You must be signed in to change notification settings - Fork 2
/
VisoarAgExplorer_mac.spec
80 lines (65 loc) · 3.66 KB
/
VisoarAgExplorer_mac.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
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
pf_foldr='/Users/amygooch/.pyenv/versions/3.8.8/lib/python3.8/site-packages'
#pf_foldr='/Users/amygooch/.pyenv/versions/3.10-dev/lib/python3.10/site-packages'
added_files = [
( 'token.json', '.' ),
( 'userFileHistory.xml', '.' ),
( 'client_secret_credentials.json', '.' ),
( 'README.md', '.' ),
( 'scripts/*.py', 'scripts' ),
( '*.py', '.' ),
('icons/*', 'icons'),
('data', '.')
]
# myexcludes = [numpy,matplotlib,opencv,cv2,scipy,skimage]
myexcludes = [ ]
a = Analysis(['VisoarAgExplorer.py'],
pathex=['/Users/amygooch/GIT/ViSOARAgExplorer_SCI/StandAloneMAPIR_CameraController','/Users/amygooch/GIT/ViSOARAgExplorer_SCI/slampy/', '/Users/amygooch/GIT/ViSOARAgExplorer_SCI/scripts', '/Users/amygooch/GIT/ViSOARAgExplorer_SCI/slampy/micasense','/Users/amygooch/.pyenv/versions/3.8.8/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/OpenVisus'],
binaries=[('/Users/amygooch/.pyenv/versions/3.8.8/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/OpenVisus/_VisusDataflowPy.so', 'platforms/_VisusDataflowPy.so'),
('/Users/amygooch/.pyenv/versions/3.8.8/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/OpenVisus/_VisusDbPy.so', 'platforms/_VisusDbPy.so'),
('/Users/amygooch/.pyenv/versions/3.8.8/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/OpenVisus/_VisusGuiPy.so', 'platforms/_VisusGuiPy.so'),
('/Users/amygooch/.pyenv/versions/3.8.8/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/OpenVisus/_VisusKernelPy.so', 'platforms/_VisusKernelPy.so'),
('/Users/amygooch/.pyenv/versions/3.8.8/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/OpenVisus/_VisusNodesPy.so', 'platforms/_VisusNodesPy.so'),
('/Users/amygooch/GIT/VisoarAgExplorerMay/myenv/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqcocoa.dylib', 'platforms/libqcocoa.dylib')],
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)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
[('v', None, 'OPTION')],
exclude_binaries=True,
name='VisoarAgExplorer',
debug=False,
bootloader_ignore_signals=False,
strip=None,
upx=True,
console=True,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None )
a.binaries += [ ('cocoa', '/Users/amygooch/GIT/VisoarAgExplorerMay/myenv/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqcocoa.dylib', 'BINARY' ) ]
a.binaries += [ ('libqcocoa', '/Users/amygooch/GIT/VisoarAgExplorerMay/myenv/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqcocoa.dylib', 'BINARY' ) ]
a.binaries += [ ('libqcocoa.dylib', '/Users/amygooch/GIT/VisoarAgExplorerMay/myenv/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/libqcocoa.dylib', 'BINARY' ) ]
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=None,
upx=True,
upx_exclude=[],
name='VisoarAgExplorer')
app = BUNDLE(coll,
name='VisoarAgExplorer.app',
icon='icons/visoareye.ico',
bundle_identifier=None)