Changeset 70be725 in sasview for sasview


Ignore:
Timestamp:
Apr 12, 2016 3:23:39 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:
5881b17
Parents:
1780d8b
Message:

Build script fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/setup_mac.py

    rbd971ec r70be725  
    2020import sys 
    2121import platform 
     22#Extending recursion limit 
     23sys.setrecursionlimit(10000) 
    2224 
    2325from distutils.util import get_platform 
    2426root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 
    2527platform = '%s-%s'%(get_platform(),sys.version[:3]) 
    26 build_path = os.path.join(root, 'build','lib.'+platform) 
     28#build_path = os.path.join(root, 'build','lib.'+platform) 
     29build_path = os.path.join(root) 
    2730sys.path.insert(0, build_path) 
    2831 
     
    4144import sas.sasgui.perspectives.invariant as invariant 
    4245DATA_FILES += invariant.data_files() 
    43 import sas.models as models 
     46#import sas.models as models 
     47import sasmodels.models as models 
    4448DATA_FILES += models.data_files() 
    4549import sas.sasgui.guiframe as guiframe 
     
    6670 
    6771# See if the documentation has been built, and if so include it. 
    68 doc_path = os.path.join(build_path, "doc") 
     72doc_path = os.path.join(build_path, "docs") 
     73print doc_path 
    6974if os.path.exists(doc_path): 
    7075    for dirpath, dirnames, filenames in os.walk(doc_path): 
    7176        for filename in filenames: 
    72             sub_dir = os.path.join("doc", os.path.relpath(dirpath, doc_path)) 
     77            sub_dir = os.path.join("docs", os.path.relpath(dirpath, doc_path)) 
    7378            DATA_FILES.append((sub_dir, [os.path.join(dirpath, filename)])) 
    7479else: 
Note: See TracChangeset for help on using the changeset viewer.