| 1 |
# -*- mode: python -*- |
| 2 |
|
| 3 |
block_cipher = None |
| 4 |
|
| 5 |
from pathlib import Path |
| 6 |
|
| 7 |
p_dir = Path(os.getenv('CONDA_PREFIX', 'C:\Python39')) |
| 8 |
s_dir = Path('D:\\SW-Development\\Python\\PlanetarySystemStacker') |
| 9 |
|
| 10 |
a = Analysis(['planetary_system_stacker.py'], |
| 11 |
pathex=[s_dir / 'planetary_system_stacker'], |
| 12 |
binaries=[ |
| 13 |
(s_dir / 'planetary_system_stacker\Binaries\Api-ms-win-core-xstate-l2-1-0.dll', '.'), |
| 14 |
(s_dir / 'planetary_system_stacker\Binaries\Api-ms-win-crt-private-l1-1-0.dll', '.'), |
| 15 |
('C:\Windows\System32\downlevel\API-MS-Win-Eventing-Provider-L1-1-0.dll', '.'), |
| 16 |
(s_dir / 'planetary_system_stacker\Binaries\\api-ms-win-downlevel-shlwapi-l1-1-0.dll', '.')], |
| 17 |
datas=[(s_dir / 'Documentation\\Icon\\PSS-Icon-64.ico', '.' ), |
| 18 |
(s_dir / 'Documentation\\Icon\\PSS-Icon-64.png', '.' ), |
| 19 |
], |
| 20 |
hiddenimports=['pywt._extensions._cwt', #'scipy._lib.messagestream', 'shelve', 'csv', 'pkg_resources.py2_warn' |
| 21 |
], |
| 22 |
hookspath=[s_dir / 'planetary_system_stacker\Pyinstaller_hooks'], |
| 23 |
runtime_hooks=[], |
| 24 |
excludes=[ |
| 25 |
], |
| 26 |
win_no_prefer_redirects=False, |
| 27 |
win_private_assemblies=False, |
| 28 |
cipher=block_cipher, |
| 29 |
noarchive=False) |
| 30 |
pyz = PYZ(a.pure, a.zipped_data, |
| 31 |
cipher=block_cipher) |
| 32 |
exe = EXE(pyz, |
| 33 |
a.scripts, |
| 34 |
[], |
| 35 |
exclude_binaries=True, |
| 36 |
name='planetary_system_stacker', |
| 37 |
debug=False, |
| 38 |
bootloader_ignore_signals=False, |
| 39 |
strip=False, |
| 40 |
upx=True, |
| 41 |
console=True ) # To display a console window, change value to True. |
| 42 |
coll = COLLECT(exe, |
| 43 |
a.binaries, |
| 44 |
a.zipfiles, |
| 45 |
a.datas, |
| 46 |
strip=False, |
| 47 |
upx=True, |
| 48 |
name='PlanetarySystemStacker') |