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')
13
if __name__ == '__main__':
14
from numpy.distutils.core import setup
15
setup(**configuration(top_path='').todict())