source: tags/1.0/python/setup.py.in @ 4643

Last change on this file since 4643 was 791, checked in by dkearney, 17 years ago

renamed the python rappture library source file

File size: 1.8 KB
Line 
1from distutils.core import setup, Extension
2
3rp_install_dir = '@prefix@'
4
5library_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
11units_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
17utils_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
23encode_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
29setup(  name='Rappture',
30        version='0.1',
31        description='Rapid Application Infrastructure library for nanoHUB.org',
32        url='http://www.nanohub.org/',
33        py_modules=[ 'Rappture.interface',
34                     'Rappture.number',
35                     'Rappture.queue',
36                     'Rappture.signalHandler',
37                     'Rappture.tools',
38                     'Rappture.result'],
39        ext_modules=[   encode_module,
40                        library_module,
41                        units_module,
42                        utils_module    ]
43  )
Note: See TracBrowser for help on using the repository browser.