Changeset d4c19e5 in sasview for sansview/setup_exe.py
- Timestamp:
- Aug 12, 2011 1:48:47 PM (13 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 390742c
- Parents:
- 38cfa7a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/setup_exe.py
rfa597990 rd4c19e5 75 75 # to use the MatPlotLib. 76 76 # 77 current_dir= os.getcwd()78 path, _ = os.path.split(current_dir) 77 path = os.getcwd() 78 79 79 plugins_dir = os.path.join(path, "plugins") 80 80 media_dir = os.path.join(path, "media") … … 85 85 matplotlibdata = findall(matplotlibdatadir) 86 86 data_files = [] 87 from glob import glob88 data_files = [("Microsoft.VC90.CRT", glob(r'C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\*.*'))]89 sys.path.append("C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\redist\\x86\\Microsoft.VC90.CRT")90 87 # Copying SLD data 91 88 import periodictable 92 89 import logging 93 90 data_files += periodictable.data_files() 91 92 import sans.perspectives.fitting as fitting 93 data_files += fitting.data_files() 94 94 95 95 import sans.perspectives.calculator as calculator … … 98 98 import sans.perspectives.invariant as invariant 99 99 data_files += invariant.data_files() 100 100 101 import sans.guiframe as guiframe 101 102 data_files += guiframe.data_files() … … 114 115 data_files.append(('.', [f])) 115 116 f = 'custom_config.py' 117 if os.path.isfile(f): 118 data_files.append(('.', [f])) 119 f = 'local_config.py' 116 120 if os.path.isfile(f): 117 121 data_files.append(('.', [f])) … … 134 138 for f in findall(plugins_dir): 135 139 if os.path.split(f)[0].count('.svn')==0: 136 data_files.append(( os.path.split(f)[0], [f]))140 data_files.append(('plugins', [f])) 137 141 138 142
Note: See TracChangeset
for help on using the changeset viewer.