diff --git a/README.rst b/README.rst index 6f5d232e..a368e677 100644 --- a/README.rst +++ b/README.rst @@ -38,12 +38,26 @@ If you are running a Linux distro that does not support `ManyLinux1 `__: .. code:: shell - $ apk add --update python3 py-pip python3-dev cmake gcc g++ openssl-dev build-base - $ pip3 install uamqp --no-binary :all: + $ git clone https://github.com/Azure/azure-uamqp-python.git + + +1. Open pyproject.toml and make the following changes + a. Under [tool.cibuildwheel] + i. Change skip = ["*-musllinux*", "pp*"] to skip = ["manylinux*","pp*"] + ii. If you want to build for a specific python version for ex. py39, add this line right after the line above build = "cp39-musllinux_x86_64". By default wheels for all supported python versions will be built. For more information check the `options `__ + +2. install cibuildwheel and run it to generate a wheel in the wheelhouse folder. + +.. code:: shell + + $ pip install cibuildwheel + $ cibuildwheel --platform linux + + If you are running Red Hat, you can install from source: