33block_cipher = None
44
55a = Analysis (
6- ['PICA_Launcher_V4.py' ], # CORRECTED: Use the actual script name
6+ ['PICA_Launcher_V4.py' ],
77 pathex = [],
88 binaries = [],
99 datas = [
10- # Folders to be included as-is
1110 ('Delta_mode' , 'Delta_mode' ),
1211 ('Keithley_2400' , 'Keithley_2400' ),
1312 ('Keithley_2400_Keithley_2182' , 'Keithley_2400_Keithley_2182' ),
1413 ('Keithley_6517B' , 'Keithley_6517B' ),
15- ('Lakeshore_350_340' , 'Lakeshore_350_340' ),
1614 ('LCR_Keysight_E4980A' , 'LCR_Keysight_E4980A' ),
15+ ('Lakeshore_350_340' , 'Lakeshore_350_340' ),
1716 ('Lock_in_amplifier' , 'Lock_in_amplifier' ),
1817 ('Utilities' , 'Utilities' ),
1918 ('_assets' , '_assets' ),
20-
21- # Files from the root directory to be placed in the root of the bundle
2219 ('LICENSE' , '.' ),
23- ('README.md' , '.' ),
24- ('Updates.md' , '.' )
20+ ('README.md' , '.' )
2521 ],
2622 hiddenimports = ['pyvisa_py' ],
2723 hookspath = [],
@@ -38,29 +34,22 @@ pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
3834exe = EXE (
3935 pyz ,
4036 a .scripts ,
37+ a .binaries ,
38+ a .zipfiles ,
39+ a .datas ,
4140 [],
42- exclude_binaries = True ,
4341 name = 'PICA_Launcher' ,
4442 debug = False ,
4543 bootloader_ignore_signals = False ,
4644 strip = False ,
4745 upx = True ,
46+ upx_exclude = [],
47+ runtime_tmpdir = None ,
4848 console = False ,
4949 disable_windowed_traceback = False ,
5050 argv_emulation = False ,
5151 target_arch = None ,
5252 codesign_identity = None ,
5353 entitlements_file = None ,
54- # Optional: Add an icon for your application
55- # icon='_assets/LOGO/your_icon.ico'
56- )
57- coll = COLLECT (
58- exe ,
59- a .binaries ,
60- a .zipfiles ,
61- a .datas ,
62- strip = False ,
63- upx = True ,
64- upx_exclude = [],
65- name = 'PICA_Launcher' ,
54+ icon = '_assets/LOGO/UGC_DAE_CSR.ico'
6655)
0 commit comments