setup.py 983 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/env python3
  2. def configuration(parent_package='',top_path=None):
  3. from numpy.distutils.misc_util import Configuration
  4. config = Configuration('numpy', parent_package, top_path)
  5. config.add_subpackage('compat')
  6. config.add_subpackage('core')
  7. config.add_subpackage('distutils')
  8. config.add_subpackage('doc')
  9. config.add_subpackage('f2py')
  10. config.add_subpackage('fft')
  11. config.add_subpackage('lib')
  12. config.add_subpackage('linalg')
  13. config.add_subpackage('ma')
  14. config.add_subpackage('matrixlib')
  15. config.add_subpackage('polynomial')
  16. config.add_subpackage('random')
  17. config.add_subpackage('testing')
  18. config.add_subpackage('typing')
  19. config.add_data_dir('doc')
  20. config.add_data_files('py.typed')
  21. config.add_data_files('*.pyi')
  22. config.add_subpackage('tests')
  23. config.make_config_py() # installs __config__.py
  24. return config
  25. if __name__ == '__main__':
  26. print('This is the wrong setup.py file to run')