source: trunk/python/setup.py.in @ 665

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

Updates to Rappture::Utils::progress for all languages
removed the dependancy on Rappture.Units from within number.py, it should only depend on Rappture which will include Rappture.Units
added Rappture.Units as a module to load when people import Rappture in python.
added -V pbs variable to queue.py to include qsub environment variables in the submitted job.
updated setup.py.in to install Rappture.Utils
added progress bar to all app-fermi examples showing how to use the Rappture::Utils::progress function in all languages.
added destructor definitions to Node classes in src2/core

File size: 1.1 KB
Line 
1from distutils.core import setup, Extension
2
3rp_install_dir = '@prefix@'
4
5units_module = Extension('Rappture.Units',
6                   include_dirs = [rp_install_dir+'/include'],
7                   sources = [ 'Rappture/PyRpUnits.cc' ],
8                   library_dirs = [ rp_install_dir+'/lib' ],
9                   libraries = [ 'rappture', 'scew' ] )
10
11utils_module = Extension('Rappture.Utils',
12                   include_dirs = [rp_install_dir+'/include'],
13                   sources = [ 'Rappture/PyRpUtils.cc' ],
14                   library_dirs = [ rp_install_dir+'/lib' ],
15                   libraries = [ 'rappture' ] )
16
17setup(  name='Rappture',
18        version='0.1',
19        description='Rapid Application Infrastructure library for nanoHUB.org',
20        url='http://www.nanohub.org/',
21        py_modules=[ 'Rappture.library',
22                     'Rappture.interface',
23                     'Rappture.number',
24                     'Rappture.queue',
25                     'Rappture.signalHandler',
26                     'Rappture.tools',
27                     'Rappture.result'],
28        ext_modules=[   units_module,
29                        utils_module    ]
30  )
Note: See TracBrowser for help on using the repository browser.