~ubuntu-branches/ubuntu/feisty/python-numpy/feisty

« back to all changes in this revision

Viewing changes to numpy/distutils/setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-07-12 10:00:24 UTC
  • Revision ID: james.westby@ubuntu.com-20060712100024-5lw9q2yczlisqcrt
Tags: upstream-0.9.8
ImportĀ upstreamĀ versionĀ 0.9.8

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('distutils',parent_package,top_path)
 
6
    config.add_subpackage('command')
 
7
    config.add_subpackage('fcompiler')
 
8
    config.add_data_dir('tests')
 
9
    config.add_data_files('site.cfg')
 
10
    config.make_config_py()
 
11
    return config
 
12
 
 
13
if __name__ == '__main__':
 
14
    from numpy.distutils.core      import setup
 
15
    setup(**configuration(top_path='').todict())