You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.py 920B

12345678910111213141516171819202122232425262728
  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('numpy', parent_package, top_path)
  6. config.add_subpackage('compat')
  7. config.add_subpackage('core')
  8. config.add_subpackage('distutils')
  9. config.add_subpackage('doc')
  10. config.add_subpackage('f2py')
  11. config.add_subpackage('fft')
  12. config.add_subpackage('lib')
  13. config.add_subpackage('linalg')
  14. config.add_subpackage('ma')
  15. config.add_subpackage('matrixlib')
  16. config.add_subpackage('polynomial')
  17. config.add_subpackage('random')
  18. config.add_subpackage('testing')
  19. config.add_data_dir('doc')
  20. config.add_data_dir('tests')
  21. config.make_config_py() # installs __config__.py
  22. return config
  23. if __name__ == '__main__':
  24. print('This is the wrong setup.py file to run')