Skip to content

Commit

Permalink
Include libcurl-impersonate-chrome.so.4 into package
Browse files Browse the repository at this point in the history
  • Loading branch information
perklet committed Feb 28, 2024
1 parent 0ed008a commit 4c71aed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ include include/curl/*
include scripts/build.py
include Makefile
include libs.json
include curl_cffi/*.so
include curl_cffi/libcurl-impersonate-chrome.so.4
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,8 @@ test-skip = "pp*"


[tool.cibuildwheel.linux]
# install zip for usage below
before-all = "yum install -y zip && make preprocess"
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
archs = ["auto", "aarch64"]
environment = { LD_LIBRARY_PATH="$PWD/curl_cffi" }
environment-pass = ["LD_LIBRARY_PATH"]
# remove the extra libcurl-impersonate.so copied into the wheel
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel} && zip -d /tmp/cibuildwheel/repaired_wheel/*.whl curl_cffi/libcurl-impersonate-chrome.so"


[tool.cibuildwheel.macos]
Expand Down

0 comments on commit 4c71aed

Please sign in to comment.