- Timestamp:
- May 9, 2016 4:59:33 AM (8 years ago)
- 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:
- aa4a549
- Parents:
- aff7904 (diff), 1d5f5c2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- sasview
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/installer_generator.py
r50008e3 r6a698c0 197 197 msg += """Source: "dist\*";\tDestDir: "{app}";\t""" 198 198 msg += """Flags: ignoreversion recursesubdirs createallsubdirs\n""" 199 msg += """Source: "dist\plugin_models\*";\tDestDir: "{userdesktop}\..\.sasview\plugin_models";\t""" 199 msg += """Source: "dist\plugin_models\*";\tDestDir: "{userdesktop}\..\.sasview\plugin_models";\t""" 200 msg += """Flags: recursesubdirs createallsubdirs\n""" 201 msg += """Source: "dist\compiled_models\*";\tDestDir: "{userdesktop}\..\.sasmodels\compiled_models";\t""" 200 202 msg += """Flags: recursesubdirs createallsubdirs\n""" 201 203 msg += """Source: "dist\config\custom_config.py";\tDestDir: "{userdesktop}\..\.sasview\config";\t""" -
sasview/setup_exe.py
ra7c4ad2 r6a698c0 197 197 # Select the appropriate manifest to use. 198 198 py26MSdll_x86 = None 199 if sys.version_info >= (3, 0) or sys.version_info < (2, 5):200 print "*** This script only works with Python 2. 5, 2.6,or 2.7."199 if sys.version_info >= (3, 0) or sys.version_info < (2, 6): 200 print "*** This script only works with Python 2.6 or 2.7." 201 201 sys.exit() 202 202 elif sys.version_info >= (2, 6): … … 208 208 except: 209 209 pass 210 elif sys.version_info >= (2, 5):211 manifest = manifest_for_python25212 py26MSdll = None213 210 214 211 … … 256 253 data_files += guiframe.data_files() 257 254 258 #import sas.models as models 259 import sasmodels.models as models 260 data_files += models.data_files() 255 # precompile sas models into the sasview build path; doesn't matter too much 256 # where it is so long as it is a place that will get cleaned up afterwards. 257 import sasmodels.core 258 dll_path = os.path.join(build_path, 'compiled_models') 259 compiled_dlls += sasmodels.core.precompile_dlls(dll_path, dtype='double') 260 261 # include the compiled models as data; coordinate the target path for the 262 # data with installer_generator.py 263 datafiles.append('compiled_models', compiled_dlls) 264 265 import sasmodels 266 data_files += sasmodels.data_files() 261 267 262 268 for f in matplotlibdata: -
sasview/setup_mac.py
r628acad raff7904 20 20 import sys 21 21 import platform 22 #Extending recursion limit 23 sys.setrecursionlimit(10000) 22 24 23 25 from distutils.util import get_platform … … 26 28 build_path = os.path.join(root, 'build','lib.'+platform) 27 29 sys.path.insert(0, build_path) 28 30 print "BUILDING PATH INSIDE", build_path 29 31 ICON = local_config.SetupIconFile_mac 30 32 EXTENSIONS_LIST = [] … … 67 69 # See if the documentation has been built, and if so include it. 68 70 doc_path = os.path.join(build_path, "doc") 71 print doc_path 69 72 if os.path.exists(doc_path): 70 73 for dirpath, dirnames, filenames in os.walk(doc_path):
Note: See TracChangeset
for help on using the changeset viewer.