- Timestamp:
- Oct 27, 2009 5:12:41 PM (15 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:
- 2790d97
- Parents:
- cd17ab4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/setup_mac.py
r8d143e8 r01255b5 6 6 """ 7 7 from setuptools import setup 8 import periodictable.xsf 9 import DataLoader.readers 10 from distutils.sysconfig import get_python_lib 11 import os 12 13 DATA_FILES = [] 14 15 #Periodictable data file 16 DATA_FILES = periodictable.xsf.setup_data_files() 17 18 #xml data files 19 20 f = os.path.join(DataLoader.readers.get_data_path(),'default.xml') 21 if os.path.isfile(f): 22 DAT_FILES.append(('.',[f])) 8 23 9 24 APP = ['sansview.py'] 10 25 DATA_FILES = ['images','test','plugins','doc'] 11 OPTIONS = {'argv_emulation': True, 26 OPTIONS = {'argv_emulation': True,'packages': ['lxml','periodictable'], 27 'frameworks':['/usr/lib/libxml2.2.dylib'], 12 28 #'plist': dict(LSPrefersPPC=True) 13 29 } … … 16 32 app=APP, 17 33 data_files=DATA_FILES, 34 include_package_data= True, 18 35 options={'py2app': OPTIONS}, 19 36 setup_requires=['py2app'],
Note: See TracChangeset
for help on using the changeset viewer.