Skip to content

Commit

Permalink
before-all needs to be under .linux
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Oct 18, 2024
1 parent b8d1217 commit a60248d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
test-requires = "-r requirements/pytest.txt"
test-command = "pytest {project}/tests"
before-all-linux = "yum install -y libffi-devel || apk add --upgrade libffi-dev || apt-get install libffi-dev"
# don't build PyPy wheels, install from source instead
skip = "pp*"
free-threaded-support = true

[tool.cibuildwheel.linux]
before-all = "yum install -y libffi-devel || apk add --upgrade libffi-dev || apt-get install libffi-dev"

0 comments on commit a60248d

Please sign in to comment.