Skip to content

Commit

Permalink
Add initial cibuildwheel config
Browse files Browse the repository at this point in the history
This allows using [cibuildwheel](https://cibuildwheel.readthedocs.io)
locally to produce various Wheel packages of BuildStream.

These Wheel packages contain prebuilt binaries of Cython modules, so
`pip3 install buildstream` on compatible systems does not require a
C compiler and Python headers on the target machine.

apache#1712
  • Loading branch information
ssssam committed Aug 12, 2022
1 parent 1bbecdb commit 07e2e72
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,16 @@ exclude = '''
| src/buildstream/_protos
)
'''

[tool.cibuildwheel]
skip = [
# BuildStream supports Python >= 3.7
"cp36-*",
# PyPy may work, but nobody is testing it so avoid distributing prebuilt binaries.
"pp*",
# Skipping this niche archicture ~halves overall build time.
"*_i686",
# This one fails to build with "NOTE: Shared object (.so) files found in this project.".
# possibly https://github.com/pypa/cibuildwheel/issues/901.
"cp310-musllinux_x86_64",
]

0 comments on commit 07e2e72

Please sign in to comment.