Changeset 495acc2 in sasview
- Timestamp:
- Dec 5, 2011 5:51:36 PM (13 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:
- 624cd3c3
- Parents:
- 08dcf6c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/setup_mac.py
r05da1ad0 r495acc2 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 10 10 mf.import_hook('pytz.tzinfo', m, ['UTC']) 11 12/05/2011: Generally needs a recent version of macholib, modulegraph, and altgraph (through easy_install) on OSX >= 10.6 11 12/05/2011: Needs macholib >= 1.4.3 and py2app >= 0.6.4 to create a 64-bit app 12 The ORNL build server uses: 13 - setuptools 14 - python 2.7 (Appleâs python wonât work) 15 - macholib 1.4.3 16 - altgraph 0.9 17 - modulegraph 0.9.1 18 - py2app 0.6.4 19 - lxml 2.3.2 20 - scipy 0.1.0 21 - numpy 1.6.1 22 - wx 2.9.2.4 23 - PIL 1.1.7 24 12 25 """ 13 26 from setuptools import setup … … 72 85 list.append(ext) 73 86 except: 74 print sys.exc_value 75 87 pass 76 88 try: 77 89 file_type, ext = string.split(local_config.APPLICATION_WLIST, "|*.", 1) … … 79 91 list.append(ext) 80 92 except: 81 print sys.exc_value 82 93 pass 83 94 try: 84 95 for item in local_config.PLUGINS_WLIST: … … 87 98 list.append(ext) 88 99 except: 89 p rint sys.exc_value100 pass 90 101 91 102 return list … … 104 115 EXCLUDES = ['PyQt4', 'sip', 'QtGui'] 105 116 106 OPTIONS = {'packages': ['lxml','numpy', 'scipy', 'pytz', 'encodings'], 117 OPTIONS = {'argv_emulation': True, 118 'packages': ['lxml','numpy', 'scipy', 'pytz', 'encodings','matplotlib'], 107 119 'iconfile': ICON, 108 120 'frameworks':[libxml_path], … … 111 123 'excludes' : EXCLUDES, 112 124 } 113 114 # Cross-platform applications generally expect sys.argv to115 # be used for opening files. This requires argv_emulation = True116 # ---> argv_emulation is not supported for 64-bit apps117 print platform.architecture()[0]118 if not platform.architecture()[0] == '64bit':119 OPTIONS['argv_emulation'] = 1120 else:121 OPTIONS['argv_emulation'] = 0122 123 125 setup( 124 126 app=APP,
Note: See TracChangeset
for help on using the changeset viewer.