Changeset 3371d81 in sasview for sasview


Ignore:
Timestamp:
May 9, 2016 4:59:33 AM (8 years ago)
Author:
wojciech
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.
Message:

setup.py fixed. Merged with Master

Location:
sasview
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sasview/installer_generator.py

    r50008e3 r6a698c0  
    197197    msg += """Source: "dist\*";\tDestDir: "{app}";\t""" 
    198198    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""" 
    200202    msg += """Flags: recursesubdirs createallsubdirs\n""" 
    201203    msg += """Source: "dist\config\custom_config.py";\tDestDir: "{userdesktop}\..\.sasview\config";\t"""  
  • sasview/setup_exe.py

    ra7c4ad2 r6a698c0  
    197197# Select the appropriate manifest to use. 
    198198py26MSdll_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." 
     199if sys.version_info >= (3, 0) or sys.version_info < (2, 6): 
     200    print "*** This script only works with Python 2.6 or 2.7." 
    201201    sys.exit() 
    202202elif sys.version_info >= (2, 6): 
     
    208208    except: 
    209209        pass 
    210 elif sys.version_info >= (2, 5): 
    211     manifest = manifest_for_python25 
    212     py26MSdll = None 
    213210 
    214211 
     
    256253data_files += guiframe.data_files() 
    257254 
    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. 
     257import sasmodels.core 
     258dll_path = os.path.join(build_path, 'compiled_models') 
     259compiled_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 
     263datafiles.append('compiled_models', compiled_dlls) 
     264 
     265import sasmodels 
     266data_files += sasmodels.data_files() 
    261267 
    262268for f in matplotlibdata: 
  • sasview/setup_mac.py

    r628acad raff7904  
    2020import sys 
    2121import platform 
     22#Extending recursion limit 
     23sys.setrecursionlimit(10000) 
    2224 
    2325from distutils.util import get_platform 
     
    2628build_path = os.path.join(root, 'build','lib.'+platform) 
    2729sys.path.insert(0, build_path) 
    28  
     30print "BUILDING PATH INSIDE", build_path 
    2931ICON = local_config.SetupIconFile_mac 
    3032EXTENSIONS_LIST = [] 
     
    6769# See if the documentation has been built, and if so include it. 
    6870doc_path = os.path.join(build_path, "doc") 
     71print doc_path 
    6972if os.path.exists(doc_path): 
    7073    for dirpath, dirnames, filenames in os.walk(doc_path): 
Note: See TracChangeset for help on using the changeset viewer.