Changeset 01255b5 in sasview


Ignore:
Timestamp:
Oct 27, 2009 3:12:41 PM (15 years ago)
Author:
Jae Cho <jhjcho@…>
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
Message:

included SLD calculator for py2app

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/setup_mac.py

    r8d143e8 r01255b5  
    66""" 
    77from setuptools import setup 
     8import periodictable.xsf 
     9import DataLoader.readers  
     10from distutils.sysconfig import get_python_lib 
     11import os 
     12 
     13DATA_FILES = [] 
     14 
     15#Periodictable data file 
     16DATA_FILES = periodictable.xsf.setup_data_files() 
     17 
     18#xml data files 
     19 
     20f = os.path.join(DataLoader.readers.get_data_path(),'default.xml') 
     21if os.path.isfile(f): 
     22    DAT_FILES.append(('.',[f])) 
    823 
    924APP = ['sansview.py'] 
    1025DATA_FILES = ['images','test','plugins','doc'] 
    11 OPTIONS = {'argv_emulation': True, 
     26OPTIONS = {'argv_emulation': True,'packages': ['lxml','periodictable'], 
     27           'frameworks':['/usr/lib/libxml2.2.dylib'], 
    1228           #'plist': dict(LSPrefersPPC=True) 
    1329           } 
     
    1632    app=APP, 
    1733    data_files=DATA_FILES, 
     34    include_package_data= True, 
    1835    options={'py2app': OPTIONS}, 
    1936    setup_requires=['py2app'], 
Note: See TracChangeset for help on using the changeset viewer.