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

« back to all changes in this revision

Viewing changes to Lib/sandbox/buildgrid/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
 
def configuration(parent_package='',top_path=None):
3
 
    from numpy.distutils.misc_util import Configuration
4
 
    config = Configuration('buildgrid',parent_package,top_path,
5
 
                           version='0.5',
6
 
                           description='Build grid from scattered '\
7
 
                           'data in file/lists',
8
 
                           author='Eugene Druker',
9
 
                           author_email='eugene.druker@gmail.com')
10
 
                          
11
 
    config.add_extension('build_grid',
12
 
                         sources = ['build_grid.c'])
13
 
    config.add_data_files('README')
14
 
    return config
15
 
 
16
 
if __name__ == "__main__":
17
 
    from numpy.distutils.core import setup
18
 
    config = configuration(top_path='').todict() 
19
 
    setup(**config)