setup.py 426 B

123456789101112
  1. #!/usr/bin/env python3
  2. def configuration(parent_package='', top_path=None):
  3. from numpy.distutils.misc_util import Configuration
  4. config = Configuration('matrixlib', parent_package, top_path)
  5. config.add_subpackage('tests')
  6. config.add_data_files('*.pyi')
  7. return config
  8. if __name__ == "__main__":
  9. from numpy.distutils.core import setup
  10. config = configuration(top_path='').todict()
  11. setup(**config)