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 +