- Timestamp:
- May 3, 2010 4:18:00 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:
- 051e22f
- Parents:
- ee370db
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/setup_mac.py
r46e7e82 r67ffb10 26 26 RESOURCES_FILES.append(os.path.join(DataLoader.readers.get_data_path(),'defaults.xml')) 27 27 28 # Locate libxml2 library 29 lib_locs = ['/usr/local/lib', '/usr/lib'] 30 libxml_path = None 31 for item in lib_locs: 32 libxml_path = '%s/libxml2.dylib' % item 33 if os.path.isfile(libxml_path): 34 break 35 if libxml_path == None: 36 raise RuntimeError, "Could not find libxml2 on the system" 37 28 38 APP = ['sansview.py'] 29 39 DATA_FILES += ['images','test','plugins','media'] … … 31 41 'packages': ['lxml','periodictable'], 32 42 'iconfile': 'images/ball.icns', 33 'frameworks':[ '/usr/local/lib/libxml2.2.dylib'], ##This dir path could be /usr/lib/yourlibxmlfile depending on the system.43 'frameworks':[libxml_path], 34 44 'resources': RESOURCES_FILES 35 45 }
Note: See TracChangeset
for help on using the changeset viewer.