From 7c2ee5919b8d59cdd165d164757f74315e667740 Mon Sep 17 00:00:00 2001 From: Danilo Horta Date: Tue, 7 Jan 2025 12:05:52 +0000 Subject: [PATCH] =?UTF-8?q?Refactor:=20Simplify=20build=20process=20for=20?= =?UTF-8?q?Windows=20users=20=F0=9F=8E=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Removed conditional check for Windows system in `build_ext.py` - Unified make and install procedure across all platforms --- build_ext.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/build_ext.py b/build_ext.py index 8fce438..e4cb457 100644 --- a/build_ext.py +++ b/build_ext.py @@ -42,12 +42,7 @@ def build_and_install( env["MACOSX_DEPLOYMENT_TARGET"] = target check_call(["make"], cwd=root / dst_dir, env=env) - if uname() == "Windows": - lib_dir = Path(prefix) / "lib" - os.makedirs(lib_dir) - shutil.copy(root / dst_dir / "libliknorm.a", lib_dir / "liknorm.lib") - else: - check_call(["make", "install"], cwd=root / dst_dir, env=env) + check_call(["make", "install"], cwd=root / dst_dir, env=env) if __name__ == "__main__":