~ubuntu-branches/ubuntu/saucy/python-scipy/saucy

« back to all changes in this revision

Viewing changes to scipy/cluster/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, get_numpy_include_dirs
 
7
    config = Configuration('cluster', parent_package, top_path)
 
8
 
 
9
    config.add_data_dir('tests')
 
10
 
 
11
    config.add_extension('_vq',
 
12
        sources=[join('src', 'vq_module.c'), join('src', 'vq.c')],
 
13
        include_dirs = [get_numpy_include_dirs()])
 
14
 
 
15
    return config
 
16
 
 
17
if __name__ == '__main__':
 
18
    from numpy.distutils.core import setup
 
19
    setup(maintainer = "SciPy Developers",
 
20
          author = "Eric Jones",
 
21
          maintainer_email = "scipy-dev@scipy.org",
 
22
          description = "Clustering Algorithms (Information Theory)",
 
23
          url = "http://www.scipy.org",
 
24
          license = "SciPy License (BSD Style)",
 
25
          **configuration(top_path='').todict()
 
26
          )