jpayne@68: #!/usr/bin/env python3 jpayne@68: jpayne@68: def configuration(parent_package='',top_path=None): jpayne@68: from numpy.distutils.misc_util import Configuration jpayne@68: config = Configuration('numpy', parent_package, top_path) jpayne@68: jpayne@68: config.add_subpackage('array_api') jpayne@68: config.add_subpackage('compat') jpayne@68: config.add_subpackage('core') jpayne@68: config.add_subpackage('distutils') jpayne@68: config.add_subpackage('doc') jpayne@68: config.add_subpackage('f2py') jpayne@68: config.add_subpackage('fft') jpayne@68: config.add_subpackage('lib') jpayne@68: config.add_subpackage('linalg') jpayne@68: config.add_subpackage('ma') jpayne@68: config.add_subpackage('matrixlib') jpayne@68: config.add_subpackage('polynomial') jpayne@68: config.add_subpackage('random') jpayne@68: config.add_subpackage('testing') jpayne@68: config.add_subpackage('typing') jpayne@68: config.add_subpackage('_typing') jpayne@68: config.add_data_dir('doc') jpayne@68: config.add_data_files('py.typed') jpayne@68: config.add_data_files('*.pyi') jpayne@68: config.add_subpackage('tests') jpayne@68: config.add_subpackage('_pyinstaller') jpayne@68: config.make_config_py() # installs __config__.py jpayne@68: return config jpayne@68: jpayne@68: if __name__ == '__main__': jpayne@68: print('This is the wrong setup.py file to run')