From 144e9b75658015c186a94aa742a3dcaef9041906 Mon Sep 17 00:00:00 2001 From: halliday Date: Tue, 21 Nov 2023 09:48:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- release.py | 6 ++++++ requirements.txt | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/release.py b/release.py index b4f25e7..1e537c3 100644 --- a/release.py +++ b/release.py @@ -88,6 +88,12 @@ def main(): target_lib_dir = os.path.join(target_dir, "lib") _copytree(site_pacakge_dir, target_lib_dir) + shutil.copy2(os.path.join(top_dir,"patch", "_psutil_linux.abi3.so"), + os.path.join(target_lib_dir, "psutil","_psutil_linux.abi3.so")) + + shutil.copy2(os.path.join(top_dir, "patch","_psutil_posix.abi3.so"), + os.path.join(target_lib_dir, "psutil","_psutil_posix.abi3.so")) + _zip_file(target_dir) print("") diff --git a/requirements.txt b/requirements.txt index a4d92cc..5c27c0d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,3 @@ -psutil +psutil==5.9.6 +PyYAML==6.0.1 +