~ubuntu-branches/ubuntu/raring/python-scipy/raring-proposed

« back to all changes in this revision

Viewing changes to Lib/io/setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-01-07 14:12:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070107141212-mm0ebkh5b37hcpzn
* Remove build dependency on python-numpy-dev.
* python-scipy: Depend on python-numpy instead of python-numpy-dev.
* Package builds on other archs than i386. Closes: #402783.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
def configuration(parent_package='',top_path=None):
 
4
    from numpy.distutils.misc_util import Configuration
 
5
    config = Configuration('io', parent_package, top_path)
 
6
    config.add_extension('numpyio',
 
7
                         sources = ['numpyiomodule.c'])
 
8
    config.add_data_dir('tests')
 
9
    config.add_data_dir('examples')
 
10
    config.add_data_dir('docs')
 
11
    return config
 
12
 
 
13
if __name__ == '__main__':
 
14
    from numpy.distutils.core import setup
 
15
    setup(**configuration(top_path='').todict())