Changeset 3a39c2e in sasview for sasview/setup_exe.py
- Timestamp:
- Feb 13, 2015 3:53:03 AM (9 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:
- 8c9ffde
- Parents:
- 79492222
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/setup_exe.py
r79492222 r3a39c2e 19 19 # put the build directory at the front of the path 20 20 if os.path.abspath(os.path.dirname(__file__)) != os.path.abspath(os.getcwd()): 21 raise RuntimeError("Must run setup_exe from the sa nsview directory")21 raise RuntimeError("Must run setup_exe from the sasview directory") 22 22 from distutils.util import get_platform 23 23 root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) … … 239 239 data_files += periodictable.data_files() 240 240 241 import sa ns.perspectives.fitting as fitting241 import sas.perspectives.fitting as fitting 242 242 data_files += fitting.data_files() 243 243 244 import sa ns.perspectives.calculator as calculator244 import sas.perspectives.calculator as calculator 245 245 data_files += calculator.data_files() 246 246 247 import sa ns.perspectives.invariant as invariant247 import sas.perspectives.invariant as invariant 248 248 data_files += invariant.data_files() 249 249 250 import sa ns.guiframe as guiframe250 import sas.guiframe as guiframe 251 251 data_files += guiframe.data_files() 252 252 253 import sa ns.models as models253 import sas.models as models 254 254 data_files += models.data_files() 255 255 … … 258 258 data_files.append((os.path.split(dirname)[0], [f])) 259 259 260 # Copy the settings file for the sa ns.dataloader file extension associations261 import sa ns.dataloader.readers262 f = os.path.join(sa ns.dataloader.readers.get_data_path(),'defaults.xml')260 # Copy the settings file for the sas.dataloader file extension associations 261 import sas.dataloader.readers 262 f = os.path.join(sas.dataloader.readers.get_data_path(),'defaults.xml') 263 263 if os.path.isfile(f): 264 264 data_files.append(('.', [f])) … … 345 345 target_wx_client = Target( 346 346 description = 'SasView', 347 script = 'sa nsview.py',347 script = 'sasview.py', 348 348 icon_resources = [(1, os.path.join(images_dir, "ball.ico"))], 349 349 other_resources = [(24,1,manifest)], … … 357 357 gen.generate_installer() 358 358 #initialize category stuff 359 #from sa ns.guiframe.CategoryInstaller import CategoryInstaller359 #from sas.guiframe.CategoryInstaller import CategoryInstaller 360 360 #CategoryInstaller.check_install() 361 361
Note: See TracChangeset
for help on using the changeset viewer.