Build manylinux wheels for a (Cython) Python package.
This action uses the manylinux container to
build manylinux wheels for a (Cython) Python package. The wheels are placed in a
new directory wheelhouse
and can then be uploaded to PyPI in the next step.
Currently, only the manylinux1_x86_64
container is supported.
Python versions for which to build (PEP 425 tags), as described in the manylinux image documentation. This can be one version, or a space-separated list of items.
For example: cp36-cp36m cp37-cp37m cp38-cp38
Default: cp36-cp36m cp37-cp37m cp38-cp38
Possible version tags (as of 12 December 2019): cp27-cp27m
, cp27-cp27mu
,
cp34-cp34m
, cp35-cp35m
, cp36-cp36m
, cp37-cp37m
, cp38-cp38
Packages required at build time, space-separated
For example: cython
or cython==0.29.14
The action will create wheels in a new wheelhouse
directory. Be sure to upload
only the wheelhouse/*-manylinux1_x86_64.whl
wheels, as the initial
linux_x86_64
wheels are not accepted by PyPI.
uses: actions/python-wheels-manylinux-build@v0.1
with:
python-versions: 'cp36-cp36m cp37-cp37m'
build-requirements: 'cython numpy'
See full_workflow_example.yml for a complete example that includes linting and uploading to PyPI.
Bugs, questions or suggestions? Feel free to post an issues in the issue tracker or to make a pull request!