Changeset 84 for trunk/src/python
- Timestamp:
- Oct 5, 2005 1:21:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python/setup.py
r71 r84 1 1 from distutils.core import setup, Extension 2 2 3 # need to write an if statement to check to see if the libRpUnits exists4 # if lib exists, then use the lib to compile against.5 # else compile everything from source.6 #7 #module = Extension('RpUnits',8 # include_dirs = [ '/usr/local/include',9 # '../../include/cee',10 # '../../include/core'],11 # libraries = ['RpUnits'],12 # library_dirs = ['../lib'],13 # sources = [ 'PyRpUnits.cc' ])14 15 3 module = Extension('Rappture.Units', 16 include_dirs = [ '../ ../include/cee',17 '../ ../include/core'],18 sources = [ ' ../core/RpUnitsStd.cc',19 ' ../core/RpUnits.cc',20 ' PyRpUnits.cc' ])4 include_dirs = [ '../include/cee', 5 '../include/core'], 6 sources = [ 'core/RpUnitsStd.cc', 7 'core/RpUnits.cc', 8 'python/PyRpUnits.cc' ]) 21 9 22 10 setup(name="Rappture.Units",
Note: See TracChangeset
for help on using the changeset viewer.