#!/usr/bin/env python
from numpy.distutils.core      import setup
from numpy.distutils.misc_util import Configuration

def configuration(parent_package='',top_path=None):
    config = Configuration('distutils',parent_package,top_path)
    config.add_subpackage('command')
    config.add_subpackage('fcompiler')
    config.add_data_dir('tests')
    config.make_config_py()
    return config.todict()

if __name__ == '__main__':
    setup(**configuration(top_path=''))

#!/usr/bin/env python
from numpy.distutils.core      import setup
from numpy.distutils.misc_util import Configuration

def configuration(parent_package='',top_path=None):
    config = Configuration('distutils',parent_package,top_path)
    config.add_subpackage('command')
    config.add_subpackage('fcompiler')
    config.add_data_dir('tests')
    config.add_data_files('site.cfg')
    config.make_config_py()
    return config.todict()

if __name__ == '__main__':
    setup(**configuration(top_path=''))

Add site.cfg to datafiles installed for numpy.distutils.
Add site.cfg to datafiles installed for numpy.distutils.


git-svn-id: 77a43f9646713b91fea7788fad5dfbf67e151ece@2011 94b884b6-d6fd-0310-90d3-974f1d3f35e1
