Changes in run.py [832fea2:899e084] in sasview
Legend:
- Unmodified
- Added
- Removed
-
run.py
r832fea2 r899e084 107 107 addpath(joinpath(root, '../sasmodels/')) 108 108 109 # Import the sasview package from root/sasview as sas.sasview. It would110 # be better to just store the package in src/sas/sasview.111 import sas112 sas.sasview = import_package('sas.sasview', joinpath(root,'sasview'))113 114 109 # The sas.models package Compiled Model files should be pulled in from the build directory even though 115 110 # the source is stored in src/sas/models. … … 121 116 joinpath(build_path, 'sas', 'sascalc', 'pr', 'core')) 122 117 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 118 import sas.sascalc.calculator 126 119 sas.sascalc.calculator.core = import_package('sas.sascalc.calculator.core', … … 133 126 if __name__ == "__main__": 134 127 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.