- Timestamp:
- Nov 25, 2016 8:56:41 AM (8 years ago)
- Branches:
- 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
- Children:
- 3968752
- Parents:
- 14d9c7b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
run.py
- Property mode changed from 100755 to 100644
r832fea2 r31c5b58 57 57 # build_path comes from context 58 58 path = joinpath(build_path, *modname.split('.'))+ext 59 #print "importing", modname, "from", path60 59 return imp.load_dynamic(modname, path) 61 60 … … 77 76 os.environ['SASVIEW_DOC_PATH'] = joinpath(build_path, "doc") 78 77 79 # Make sure that we have a private version of mplconfig80 #mplconfig = joinpath(abspath(dirname(__file__)), '.mplconfig')81 #os.environ['MPLCONFIGDIR'] = mplconfig82 #if not os.path.exists(mplconfig): os.mkdir(mplconfig)83 #import matplotlib84 #matplotlib.use('Agg')85 #print matplotlib.__file__86 #import pylab; pylab.hold(False)87 78 # add periodictable to the path 88 79 try: import periodictable … … 91 82 try: import bumps 92 83 except: addpath(joinpath(root, '..','bumps')) 93 94 # select wx version95 #addpath(os.path.join(root, '..','wxPython-src-3.0.0.0','wxPython'))96 84 97 85 # Build project if the build directory does not already exist. … … 112 100 sas.sasview = import_package('sas.sasview', joinpath(root,'sasview')) 113 101 114 # The sas.models package Compiled Model files should be pulled in from the build directory even though115 # the source is stored in src/sas/models.116 117 102 # Compiled modules need to be pulled from the build directory. 118 103 # Some packages are not where they are needed, so load them explicitly. … … 129 114 sys.path.append(build_path) 130 115 131 #print "\n".join(sys.path)132 133 116 if __name__ == "__main__": 134 117 prepare() 135 from sas. sasview.sasview import run118 from sas.qtgui.MainWindow import run 136 119 run()
Note: See TracChangeset
for help on using the changeset viewer.