From 494ade7a4f4a753c567b79cec7a56fde515c4263 Mon Sep 17 00:00:00 2001 From: EmilDohne <86836589+EmilDohne@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:35:32 +0100 Subject: [PATCH] add back shutil move --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e9db0ded..b23ff30e 100644 --- a/setup.py +++ b/setup.py @@ -145,6 +145,7 @@ def build_extension(self, ext: CMakeExtension) -> None: ) +shutil.move('python/psapi-stubs', '.') def package_files(directory): paths = [] @@ -163,7 +164,7 @@ def package_files(directory): ext_modules=[CMakeExtension("psapi")], cmdclass={"build_ext": CMakeBuild}, packages=["psapi-stubs"], - package_data={"psapi-stubs": package_files("python/psapi-stubs")}, + package_data={"psapi-stubs": package_files("psapi-stubs")}, zip_safe=False, install_requires= [ "numpy>=1.26"