Changes in run.py [832fea2:899e084] in sasview


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • run.py

    r832fea2 r899e084  
    107107    addpath(joinpath(root, '../sasmodels/')) 
    108108 
    109     # Import the sasview package from root/sasview as sas.sasview.  It would 
    110     # be better to just store the package in src/sas/sasview. 
    111     import sas 
    112     sas.sasview = import_package('sas.sasview', joinpath(root,'sasview')) 
    113  
    114109    # The sas.models package Compiled Model files should be pulled in from the build directory even though 
    115110    # the source is stored in src/sas/models. 
     
    121116                                  joinpath(build_path, 'sas', 'sascalc', 'pr', 'core')) 
    122117 
    123     # Compiled modules need to be pulled from the build directory. 
    124     # Some packages are not where they are needed, so load them explicitly. 
    125118    import sas.sascalc.calculator 
    126119    sas.sascalc.calculator.core = import_package('sas.sascalc.calculator.core', 
     
    133126if __name__ == "__main__": 
    134127    prepare() 
    135     from sas.sasview.sasview import run 
    136     run() 
     128    from sas.sasview.sasview import run_gui 
     129    run_gui() 
Note: See TracChangeset for help on using the changeset viewer.