setup.py 665 B

1234567891011121314151617181920
  1. #!/usr/bin/env python3
  2. def configuration(parent_package='',top_path=None):
  3. from numpy.distutils.misc_util import Configuration
  4. config = Configuration('testing', parent_package, top_path)
  5. config.add_subpackage('_private')
  6. config.add_subpackage('tests')
  7. config.add_data_files('*.pyi')
  8. return config
  9. if __name__ == '__main__':
  10. from numpy.distutils.core import setup
  11. setup(maintainer="NumPy Developers",
  12. maintainer_email="numpy-dev@numpy.org",
  13. description="NumPy test module",
  14. url="https://www.numpy.org",
  15. license="NumPy License (BSD Style)",
  16. configuration=configuration,
  17. )