Changeset 25a42f99 in sasview for installers
- Timestamp:
- Aug 29, 2017 5:34:30 PM (7 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- e912a58
- Parents:
- 759a8ab
- Location:
- installers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
installers/setup_exe.py
r759a8ab r25a42f99 62 62 del sys.argv[path_flag_idx+1] 63 63 sys.argv.remove('--extrapath') 64 except :64 except Exception: 65 65 print("Error processing extra python path needed to build SasView\n %s" % 66 66 sys.exc_value) … … 224 224 sas_path = os.path.join('..', 'src', 'sas') 225 225 DATA_FILES.append(('.', [os.path.join(sas_path, 'logging.ini')])) 226 sasview_path = os.path.join(sas_path, 'sasview')226 sasview_path = os.path.join(sas_path, 'sasview') 227 227 config_files = [ 228 228 'custom_config.py', … … 260 260 # Copying the sample data user data 261 261 for f in findall(test_1d_dir): 262 DATA_FILES.append((os.path.join("test", "1d_data"), [f]))262 DATA_FILES.append((os.path.join("test", "1d_data"), [f])) 263 263 264 264 # Copying the sample data user data 265 265 for f in findall(test_2d_dir): 266 DATA_FILES.append((os.path.join("test", "2d_data"), [f]))266 DATA_FILES.append((os.path.join("test", "2d_data"), [f])) 267 267 268 268 # Copying the sample data user data 269 269 for f in findall(test_save_dir): 270 DATA_FILES.append((os.path.join("test", "save_states"), [f]))270 DATA_FILES.append((os.path.join("test", "save_states"), [f])) 271 271 272 272 # Copying the sample data user data 273 273 for f in findall(test_upcoming_dir): 274 DATA_FILES.append((os.path.join("test", "upcoming_formats"), [f]))274 DATA_FILES.append((os.path.join("test", "upcoming_formats"), [f])) 275 275 276 276 # Copying opencl include files … … 278 278 opencl_include_dir = os.path.join(site_loc, "pyopencl", "cl") 279 279 for f in findall(opencl_include_dir): 280 DATA_FILES.append((os.path.join("includes", "pyopencl"), [f]))280 DATA_FILES.append((os.path.join("includes", "pyopencl"), [f])) 281 281 282 282 # Numerical libraries … … 319 319 packages = [ 320 320 'matplotlib', 'scipy', 'encodings', 'comtypes', 'h5py', 321 'win32com', 'xhtml2pdf', 'bumps', 'sasmodels', 'sas',321 'win32com', 'xhtml2pdf', 'bumps', 'sasmodels', 'sas', 322 322 ] 323 323 packages.extend([ … … 336 336 337 337 # For an interactive interpreter, SasViewCom 338 packages.extend(['IPython', 'pyreadline','pyreadline.unicode_helper'])338 packages.extend(['IPython', 'pyreadline', 'pyreadline.unicode_helper']) 339 339 340 340 # individual models … … 365 365 366 366 target_wx_client = Target( 367 description ='SasView',368 script ='sasview_gui.py',369 icon_resources =[(1, local_config.SetupIconFile_win)],370 other_resources =[(24, 1, manifest)],371 dest_base ="SasView"367 description='SasView', 368 script='sasview_gui.py', 369 icon_resources=[(1, local_config.SetupIconFile_win)], 370 other_resources=[(24, 1, manifest)], 371 dest_base="SasView" 372 372 ) 373 373 374 374 target_console_client = Target( 375 description ='SasView console',376 script ='sasview_console.py',377 icon_resources =[(1, local_config.SetupIconFile_win)],378 other_resources =[(24, 1, manifest)],379 dest_base ="SasViewCom"375 description='SasView console', 376 script='sasview_console.py', 377 icon_resources=[(1, local_config.SetupIconFile_win)], 378 other_resources=[(24, 1, manifest)], 379 dest_base="SasViewCom" 380 380 ) 381 381 -
installers/setup_mac.py
ra67ec83 r25a42f99 7 7 8 8 NOTES: 9 12/01/2011: When seeing an error related to pytz.zoneinfo not being found, change the following line in py2app/recipes/matplotlib.py 9 12/01/2011: When seeing an error related to pytz.zoneinfo not being found, 10 change the following line in py2app/recipes/matplotlib.py 10 11 mf.import_hook('pytz.tzinfo', m, ['UTC']) 11 12 12/05/2011: Needs macholib >= 1.4.3 and py2app >= 0.6.4 to create a 64-bit app … … 59 60 #CANSAxml reader data files 60 61 from sas.sascalc.dataloader import readers 61 RESOURCES_FILES.append(os.path.join(readers.get_data_path(), 'defaults.json'))62 RESOURCES_FILES.append(os.path.join(readers.get_data_path(), 'defaults.json')) 62 63 63 64 # Copy the config files 64 65 sas_path = os.path.join('..', 'src', 'sas') 65 66 DATA_FILES.append(('.', [os.path.join(sas_path, 'logging.ini')])) 66 sasview_path = os.path.join(sas_path, 'sasview')67 sasview_path = os.path.join(sas_path, 'sasview') 67 68 custom_config_file = os.path.join(sasview_path, 'custom_config.py') 68 69 local_config_file = os.path.join(sasview_path, 'local_config.py') … … 99 100 # Copying the sample data user data 100 101 for f in findall(test_1d_dir): 101 DATA_FILES.append((os.path.join("test", "1d_data"), [f]))102 DATA_FILES.append((os.path.join("test", "1d_data"), [f])) 102 103 103 104 # Copying the sample data user data 104 105 for f in findall(test_2d_dir): 105 DATA_FILES.append((os.path.join("test", "2d_data"), [f]))106 DATA_FILES.append((os.path.join("test", "2d_data"), [f])) 106 107 107 108 # Copying the sample data user data 108 109 for f in findall(test_save_dir): 109 DATA_FILES.append((os.path.join("test", "save_states"), [f]))110 DATA_FILES.append((os.path.join("test", "save_states"), [f])) 110 111 111 112 # Copying the sample data user data 112 113 for f in findall(test_upcoming_dir): 113 DATA_FILES.append((os.path.join("test", "upcoming_formats"), [f]))114 DATA_FILES.append((os.path.join("test", "upcoming_formats"), [f])) 114 115 115 116 # Copying opencl include files … … 117 118 opencl_include_dir = os.path.join(site_loc, "pyopencl", "cl") 118 119 for f in findall(opencl_include_dir): 119 DATA_FILES.append((os.path.join("includes", "pyopencl"), [f]))120 DATA_FILES.append((os.path.join("includes", "pyopencl"), [f])) 120 121 121 122 # See if the documentation has been built, and if so include it. … … 167 168 plist = dict(CFBundleDocumentTypes=[dict(CFBundleTypeExtensions=EXTENSIONS_LIST, 168 169 CFBundleTypeIconFile=ICON, 169 CFBundleTypeName="sasview file",170 CFBundleTypeRole="Shell")],)170 CFBundleTypeName="sasview file", 171 CFBundleTypeRole="Shell")],) 171 172 172 173 # Locate libxml2 library
Note: See TracChangeset
for help on using the changeset viewer.