Changeset bd971ec in sasview
- Timestamp:
- Mar 18, 2016 7:02:59 AM (9 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:
- cde9d7d
- Parents:
- 7d265a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/setup_mac.py
r55c7d4b rbd971ec 4 4 Usage: 5 5 python setup.py py2app 6 7 6 7 8 8 NOTES: 9 9 12/01/2011: When seeing an error related to pytz.zoneinfo not being found, change the following line in py2app/recipes/matplotlib.py … … 13 13 from setuptools import setup 14 14 import periodictable.xsf 15 import sas.sascalc.dataloader.readers 15 import sas.sascalc.dataloader.readers 16 16 import os 17 17 import string … … 54 54 for item in lib_locs: 55 55 libxml_path_test = '%s/libxml2.2.dylib' % item 56 if os.path.isfile(libxml_path_test): 56 if os.path.isfile(libxml_path_test): 57 57 libxml_path = libxml_path_test 58 58 if libxml_path == None: … … 74 74 else: 75 75 raise Exception("You must first build the documentation before creating an installer.") 76 76 77 77 # locate file extensions 78 78 def find_extension(): … … 102 102 file_type, ext = string.split(item, "|*.", 1) 103 103 if ext.strip() not in EXCEPTION_LIST and ext.strip() not in list: 104 list.append(ext) 104 list.append(ext) 105 105 except: 106 106 pass 107 107 108 108 return list 109 109 110 110 EXTENSIONS_LIST = find_extension() 111 111 112 112 113 113 plist = dict(CFBundleDocumentTypes=[dict(CFBundleTypeExtensions=EXTENSIONS_LIST, 114 114 CFBundleTypeIconFile=ICON, … … 131 131 'packages': ['lxml','numpy', 'scipy', 'pytz', 'encodings', 132 132 'encodings','matplotlib', 'periodictable', 133 'reportlab' 133 'reportlab','sasmodels' 134 134 ], 135 135 'iconfile': ICON, … … 153 153 os.system('cd dist && ../../build_tools/dmgpack.sh "%s" "%s.app"'%(DMGNAME,APPNAME)) 154 154 os.system('chmod a+r "%s"'%DMG) 155
Note: See TracChangeset
for help on using the changeset viewer.