~ubuntu-branches/ubuntu/karmic/python-scipy/karmic

« back to all changes in this revision

Viewing changes to scipy/interpolate/setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Ondrej Certik
  • Date: 2008-06-16 22:58:01 UTC
  • mfrom: (2.1.24 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080616225801-irdhrpcwiocfbcmt
Tags: 0.6.0-12
* The description updated to match the current SciPy (Closes: #489149).
* Standards-Version bumped to 3.8.0 (no action needed)
* Build-Depends: netcdf-dev changed to libnetcdf-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
from os.path import join
 
4
 
 
5
def configuration(parent_package='',top_path=None):
 
6
    from numpy.distutils.misc_util import Configuration
 
7
 
 
8
    config = Configuration('interpolate', parent_package, top_path)
 
9
 
 
10
    config.add_library('fitpack',
 
11
                       sources=[join('fitpack', '*.f')],
 
12
                      )
 
13
 
 
14
    config.add_extension('_fitpack',
 
15
                         sources=['_fitpackmodule.c'],
 
16
                         libraries=['fitpack'],
 
17
                        )
 
18
 
 
19
    config.add_extension('dfitpack',
 
20
                         sources=['fitpack.pyf'],
 
21
                         libraries=['fitpack'],
 
22
                        )
 
23
 
 
24
    config.add_data_dir('tests')
 
25
 
 
26
    return config
 
27
 
 
28
if __name__ == '__main__':
 
29
    from numpy.distutils.core import setup
 
30
    setup(**configuration(top_path='').todict())