Changeset 5881b17 in sasview for sasview/setup_mac.py


Ignore:
Timestamp:
Apr 28, 2016 7:29:38 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:
aff7904
Parents:
70be725
Message:

Setup changes to make mac running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/setup_mac.py

    r70be725 r5881b17  
    2626root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 
    2727platform = '%s-%s'%(get_platform(),sys.version[:3]) 
    28 #build_path = os.path.join(root, 'build','lib.'+platform) 
    29 build_path = os.path.join(root) 
     28build_path = os.path.join(root, 'build','lib.'+platform) 
    3029sys.path.insert(0, build_path) 
    31  
     30print "BUILDING PATH INSIDE", build_path 
    3231ICON = local_config.SetupIconFile_mac 
    3332EXTENSIONS_LIST = [] 
     
    7069 
    7170# See if the documentation has been built, and if so include it. 
    72 doc_path = os.path.join(build_path, "docs") 
     71doc_path = os.path.join(build_path, "doc") 
    7372print doc_path 
    7473if os.path.exists(doc_path): 
    7574    for dirpath, dirnames, filenames in os.walk(doc_path): 
    7675        for filename in filenames: 
    77             sub_dir = os.path.join("docs", os.path.relpath(dirpath, doc_path)) 
     76            sub_dir = os.path.join("doc", os.path.relpath(dirpath, doc_path)) 
    7877            DATA_FILES.append((sub_dir, [os.path.join(dirpath, filename)])) 
    7978else: 
Note: See TracChangeset for help on using the changeset viewer.