Changeset 9e531f2 in sasview for run.py


Ignore:
Timestamp:
Mar 20, 2016 5:59:32 PM (3 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:
b85502d
Parents:
0b709f2c
Message:

Code Cleanup - Fix build?!?!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • run.py

    r50a77df r9e531f2  
    121121                                  joinpath(build_path, 'sas', 'sascalc', 'pr', 'core')) 
    122122 
     123    # Compiled modules need to be pulled from the build directory. 
     124    # Some packages are not where they are needed, so load them explicitly. 
     125    import sas.sascalc.calculator 
     126    sas.sascalc.calculator.core = import_package('sas.sascalc.calculator.core', 
     127                                  joinpath(build_path, 'sas', 'sascalc', 'calculator', 'core')) 
    123128 
    124129    # Pull the entire sas.models package from the build directory since it contains 
    125130    # a mixture of autogenerated python and C.  Any changes in models will require 
    126131    # a rebuild with setup.py build 
    127     sas.models = import_package('sas.models', joinpath(build_path, 'sas', 'models')) 
     132    # sas.models = import_package('sas.models', joinpath(build_path, 'sas', 'models')) 
    128133 
    129134    sys.path.append(build_path) 
Note: See TracChangeset for help on using the changeset viewer.