Changeset bd971ec in sasview for sasview


Ignore:
Timestamp:
Mar 18, 2016 5:02:59 AM (8 years ago)
Author:
ajj
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:
cde9d7d
Parents:
7d265a8
Message:

Adding sasmodels to dependencies in setup_mac.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/setup_mac.py

    r55c7d4b rbd971ec  
    44Usage: 
    55    python setup.py py2app 
    6      
    7      
     6 
     7 
    88NOTES: 
    99   12/01/2011: When seeing an error related to pytz.zoneinfo not being found, change the following line in py2app/recipes/matplotlib.py 
     
    1313from setuptools import setup 
    1414import periodictable.xsf 
    15 import sas.sascalc.dataloader.readers  
     15import sas.sascalc.dataloader.readers 
    1616import os 
    1717import string 
     
    5454for item in lib_locs: 
    5555    libxml_path_test = '%s/libxml2.2.dylib' % item 
    56     if os.path.isfile(libxml_path_test):  
     56    if os.path.isfile(libxml_path_test): 
    5757        libxml_path = libxml_path_test 
    5858if libxml_path == None: 
     
    7474else: 
    7575    raise Exception("You must first build the documentation before creating an installer.") 
    76      
     76 
    7777# locate file extensions 
    7878def find_extension(): 
     
    102102            file_type, ext = string.split(item, "|*.", 1) 
    103103            if ext.strip() not in EXCEPTION_LIST and ext.strip() not in list: 
    104                 list.append(ext)  
     104                list.append(ext) 
    105105    except: 
    106106        pass 
    107      
     107 
    108108    return list 
    109109 
    110110EXTENSIONS_LIST = find_extension() 
    111111 
    112   
     112 
    113113plist = dict(CFBundleDocumentTypes=[dict(CFBundleTypeExtensions=EXTENSIONS_LIST, 
    114114                                         CFBundleTypeIconFile=ICON, 
     
    131131           'packages': ['lxml','numpy', 'scipy', 'pytz', 'encodings', 
    132132                        'encodings','matplotlib', 'periodictable', 
    133                         'reportlab' 
     133                        'reportlab','sasmodels' 
    134134                        ], 
    135135           'iconfile': ICON, 
     
    153153os.system('cd dist && ../../build_tools/dmgpack.sh "%s" "%s.app"'%(DMGNAME,APPNAME)) 
    154154os.system('chmod a+r "%s"'%DMG) 
    155  
Note: See TracChangeset for help on using the changeset viewer.