setup.py 405 B

123456789101112
  1. def configuration(parent_package='',top_path=None):
  2. from numpy.distutils.misc_util import Configuration
  3. config = Configuration('lib', parent_package, top_path)
  4. config.add_subpackage('tests')
  5. config.add_data_dir('tests/data')
  6. config.add_data_files('*.pyi')
  7. return config
  8. if __name__ == '__main__':
  9. from numpy.distutils.core import setup
  10. setup(configuration=configuration)