Changeset 1018 for trunk/lang/python/setup.py.in
- Timestamp:
- Jun 8, 2008, 6:24:34 PM (16 years ago)
- Location:
- trunk/lang
- Files:
-
- 1 added
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/python/setup.py.in
r791 r1018 2 2 3 3 rp_install_dir = '@prefix@' 4 tmpdir = 'build/tmp/' 5 srcdir = '@srcdir@/Rappture/' 6 incdir = '@prefix@/include' 7 libdir = '@prefix@/lib' 4 8 5 9 library_module = Extension('Rappture.library', 6 include_dirs = [rp_install_dir+'/include', '../include'],7 sources = [ 'Rappture/PyRpLibrary.cc' ],8 library_dirs = [ rp_install_dir+'/lib', '../src' ],9 libraries = [ 'rappture' ] )10 include_dirs = [incdir, '../include'], 11 sources = [ tmpdir+'PyRpLibrary.cc' ], 12 library_dirs = [ libdir, '../src' ], 13 libraries = [ 'rappture' ] ) 10 14 11 15 units_module = Extension('Rappture.Units', 12 include_dirs = [rp_install_dir+'/include', '../include'],13 sources = [ 'Rappture/PyRpUnits.cc' ],14 library_dirs = [ rp_install_dir+'/lib', '../src' ],15 libraries = [ 'rappture' ] )16 include_dirs = [incdir, '../include'], 17 sources = [ tmpdir+'PyRpUnits.cc' ], 18 library_dirs = [ libdir, '../src' ], 19 libraries = [ 'rappture' ] ) 16 20 17 21 utils_module = Extension('Rappture.Utils', 18 include_dirs = [rp_install_dir+'/include', '../include'],19 sources = [ 'Rappture/PyRpUtils.cc' ],20 library_dirs = [ rp_install_dir+'/lib', '../src' ],21 libraries = [ 'rappture' ] )22 include_dirs = [ incdir, '../include'], 23 sources = [ tmpdir+'PyRpUtils.cc' ], 24 library_dirs = [ libdir, '../src' ], 25 libraries = [ 'rappture' ] ) 22 26 23 27 encode_module = Extension('Rappture.encoding', 24 include_dirs = [rp_install_dir+'/include', '../include'],25 sources = [ 'Rappture/PyRpEncode.cc' ],26 library_dirs = [ rp_install_dir+'/lib', '../src' ],27 libraries = [ 'rappture' ] )28 include_dirs = [ incdir, '../include'], 29 sources = [ tmpdir+'PyRpEncode.cc' ], 30 library_dirs = [ libdir, '../src' ], 31 libraries = [ 'rappture' ] ) 28 32 29 33 setup( name='Rappture', … … 31 35 description='Rapid Application Infrastructure library for nanoHUB.org', 32 36 url='http://www.nanohub.org/', 37 package_dir={ 'Rappture' : srcdir }, 33 38 py_modules=[ 'Rappture.interface', 34 39 'Rappture.number', … … 37 42 'Rappture.tools', 38 43 'Rappture.result'], 39 ext_modules=[ 40 41 42 utils_module]44 ext_modules=[ encode_module, 45 library_module, 46 units_module, 47 utils_module ] 43 48 )
Note: See TracChangeset
for help on using the changeset viewer.