diff --git a/Makefile b/Makefile index b318555..f31fd41 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ SHELL := bash # this is the upstream libcurl-impersonate version -VERSION := 0.7.0b5 +VERSION := 0.7.0b6 CURL_VERSION := curl-8_7_1 $(CURL_VERSION): diff --git a/pyproject.toml b/pyproject.toml index 586afd5..54396b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "curl_cffi" -version = "0.7.0b5" +version = "0.7.0b6" authors = [{ name = "Yifei Kong", email = "kong@yifei.me" }] description = "libcurl ffi bindings for Python, with impersonation support." license = { file = "LICENSE" } @@ -105,6 +105,10 @@ environment-pass = ["LD_LIBRARY_PATH"] [tool.cibuildwheel.macos] before-all = "gmake preprocess" +[tool.cibuildwheel.windows] +before-build = "pip install delvewheel" +repair-wheel-command = "delvewheel repair --add-path ./lib64;./lib32 -w {dest_dir} {wheel}" + [tool.pytest.ini_options] # pythonpath = [ "." ] diff --git a/scripts/build.py b/scripts/build.py index 2d00f41..f456631 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -10,7 +10,7 @@ from cffi import FFI # this is the upstream libcurl-impersonate version -__version__ = "0.7.0b5" +__version__ = "0.7.0b6" tmpdir = None @@ -69,9 +69,6 @@ def download_libcurl(): os.makedirs(arch["libdir"], exist_ok=True) shutil.unpack_archive(file, arch["libdir"]) - if arch["system"] == "Windows": - shutil.copy2(f"{arch['libdir']}/libcurl.dll", "curl_cffi") - def get_curl_archives(): if arch["system"] == "Linux" and arch.get("link_type") == "static":