setup.py 676 B

12345678910111213141516171819202122
  1. #!/usr/bin/env python
  2. from __future__ import division, print_function
  3. def configuration(parent_package='',top_path=None):
  4. from numpy.distutils.misc_util import Configuration
  5. config = Configuration('testing', parent_package, top_path)
  6. config.add_subpackage('_private')
  7. config.add_data_dir('tests')
  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. )