| 1 |
# -*- mode: python -*- |
| 2 |
|
| 3 |
from pathlib import Path |
| 4 |
|
| 5 |
block_cipher = None |
| 6 |
s_dir = Path('/home/castor/shares/castor/src/PlanetarySystemStacker') |
| 7 |
|
| 8 |
a = Analysis(['planetary_system_stacker.py'], |
| 9 |
pathex=[s_dir / 'planetary_system_stacker'], |
| 10 |
binaries=[], |
| 11 |
datas=[(s_dir / 'Documentation/Icon/PSS-Icon-64.jpg', '.' ), |
| 12 |
(s_dir / 'Documentation/PlanetarySystemStacker_User-Guide.pdf', '.' ), |
| 13 |
(s_dir / 'planetary_system_stacker/Videos/*', 'Videos' ), |
| 14 |
], |
| 15 |
hiddenimports=['pywt._extensions._cwt' ], |
| 16 |
hookspath=[s_dir / 'planetary_system_stacker/Pyinstaller_hooks'], |
| 17 |
runtime_hooks=[], |
| 18 |
excludes=[], |
| 19 |
# excludes=['astropy'], |
| 20 |
win_no_prefer_redirects=False, |
| 21 |
win_private_assemblies=False, |
| 22 |
cipher=block_cipher) |
| 23 |
pyz = PYZ(a.pure, a.zipped_data, |
| 24 |
cipher=block_cipher) |
| 25 |
exe = EXE(pyz, |
| 26 |
a.scripts, |
| 27 |
exclude_binaries=True, |
| 28 |
name='planetary_system_stacker', |
| 29 |
debug=False, |
| 30 |
strip=False, |
| 31 |
upx=True, |
| 32 |
console=False ) # To display a console window, change value to True. |
| 33 |
coll = COLLECT(exe, |
| 34 |
a.binaries, |
| 35 |
a.zipfiles, |
| 36 |
a.datas, |
| 37 |
strip=False, |
| 38 |
upx=True, |
| 39 |
name='PlanetarySystemStacker') |