Longbowman / python-wheels-manylinux-build

GitHub Action to build Python manylinux wheels

Home Page:https://github.com/marketplace/actions/python-wheels-manylinux-build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python wheels manylinux build - GitHub Action

GitHub release (latest SemVer including pre-releases) GitHub GitHub issues

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.

Usage

Inputs

python-versions (required)

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

build-requirements (optional)

Packages required at build time, space-separated
For example: cython or cython==0.29.14

Output

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.

Example usage

uses: actions/python-wheels-manylinux-build@v0.1
with:
  python-versions: 'cp36-cp36m cp37-cp37m'
  build-requirements: 'cython numpy'

Full workflow example

See full_workflow_example.yml for a complete example that includes linting and uploading to PyPI.

Contributing

Bugs, questions or suggestions? Feel free to post an issues in the issue tracker or to make a pull request!

About

GitHub Action to build Python manylinux wheels

https://github.com/marketplace/actions/python-wheels-manylinux-build

License:Apache License 2.0


Languages

Language:Shell 87.4%Language:Dockerfile 12.6%