diff options
author | bwoodsend <bwoodsend@gmail.com> | 2022-01-06 00:55:16 +0000 |
---|---|---|
committer | bwoodsend <bwoodsend@gmail.com> | 2022-01-20 20:29:51 +0000 |
commit | bac9d0e8a21deb9ea28506f6b16f9dcecdef4eaf (patch) | |
tree | 09c6d86ef890c7c8d58032882e48b4c155ea8c04 /numpy/setup.py | |
parent | d3dcb0443a2bb34b56447eaef0e88dc99f704918 (diff) | |
download | numpy-bac9d0e8a21deb9ea28506f6b16f9dcecdef4eaf.tar.gz |
ENH: add hook and test for PyInstaller.
Adding this special hook file tells PyInstaller what files a self contained
NumPy application needs to run. A test is included to verify that the hook still
finds all necessary files.
Closes #17184.
Diffstat (limited to 'numpy/setup.py')
-rw-r--r-- | numpy/setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/setup.py b/numpy/setup.py index a0ca99919..ebad66122 100644 --- a/numpy/setup.py +++ b/numpy/setup.py @@ -23,6 +23,7 @@ def configuration(parent_package='',top_path=None): config.add_data_files('py.typed') config.add_data_files('*.pyi') config.add_subpackage('tests') + config.add_subpackage('_pyinstaller') config.make_config_py() # installs __config__.py return config |