1 2def configuration(parent_package='',top_path=None): 3 from numpy.distutils.misc_util import Configuration 4 5 config = Configuration('linalg',parent_package,top_path) 6 7 config.add_subpackage(('isolve')) 8 config.add_subpackage(('dsolve')) 9 config.add_subpackage(('eigen')) 10 11 config.add_data_dir('tests') 12 13 return config 14 15 16if __name__ == '__main__': 17 from numpy.distutils.core import setup 18 setup(**configuration(top_path='').todict()) 19