setup.py 634 B

1234567891011121314151617
  1. #!/usr/bin/env python3
  2. def configuration(parent_package='',top_path=None):
  3. from numpy.distutils.misc_util import Configuration
  4. config = Configuration('distutils', parent_package, top_path)
  5. config.add_subpackage('command')
  6. config.add_subpackage('fcompiler')
  7. config.add_subpackage('tests')
  8. config.add_data_files('site.cfg')
  9. config.add_data_files('mingw/gfortran_vs2003_hack.c')
  10. config.add_data_dir('checks')
  11. config.add_data_files('*.pyi')
  12. config.make_config_py()
  13. return config
  14. if __name__ == '__main__':
  15. from numpy.distutils.core import setup
  16. setup(configuration=configuration)