Changeset 3a39c2e in sasview for sasview/setup_exe.py


Ignore:
Timestamp:
Feb 13, 2015 3:53:03 AM (9 years ago)
Author:
krzywon
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
Message:

Next iteration of the SANS→SAS is complete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/setup_exe.py

    r79492222 r3a39c2e  
    1919# put the build directory at the front of the path 
    2020if os.path.abspath(os.path.dirname(__file__)) != os.path.abspath(os.getcwd()): 
    21     raise RuntimeError("Must run setup_exe from the sansview directory") 
     21    raise RuntimeError("Must run setup_exe from the sasview directory") 
    2222from distutils.util import get_platform 
    2323root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 
     
    239239data_files += periodictable.data_files() 
    240240 
    241 import sans.perspectives.fitting as fitting 
     241import sas.perspectives.fitting as fitting 
    242242data_files += fitting.data_files() 
    243243 
    244 import sans.perspectives.calculator as calculator 
     244import sas.perspectives.calculator as calculator 
    245245data_files += calculator.data_files() 
    246246 
    247 import sans.perspectives.invariant as invariant 
     247import sas.perspectives.invariant as invariant 
    248248data_files += invariant.data_files() 
    249249 
    250 import sans.guiframe as guiframe 
     250import sas.guiframe as guiframe 
    251251data_files += guiframe.data_files() 
    252252 
    253 import sans.models as models 
     253import sas.models as models 
    254254data_files += models.data_files() 
    255255 
     
    258258    data_files.append((os.path.split(dirname)[0], [f])) 
    259259 
    260 # Copy the settings file for the sans.dataloader file extension associations 
    261 import sans.dataloader.readers 
    262 f = os.path.join(sans.dataloader.readers.get_data_path(),'defaults.xml') 
     260# Copy the settings file for the sas.dataloader file extension associations 
     261import sas.dataloader.readers 
     262f = os.path.join(sas.dataloader.readers.get_data_path(),'defaults.xml') 
    263263if os.path.isfile(f): 
    264264    data_files.append(('.', [f])) 
     
    345345target_wx_client = Target( 
    346346    description = 'SasView', 
    347     script = 'sansview.py', 
     347    script = 'sasview.py', 
    348348    icon_resources = [(1, os.path.join(images_dir, "ball.ico"))], 
    349349    other_resources = [(24,1,manifest)], 
     
    357357gen.generate_installer() 
    358358#initialize category stuff 
    359 #from sans.guiframe.CategoryInstaller import CategoryInstaller 
     359#from sas.guiframe.CategoryInstaller import CategoryInstaller 
    360360#CategoryInstaller.check_install() 
    361361 
Note: See TracChangeset for help on using the changeset viewer.