I have a project depending on a shared library. To make it clear from the beginning: the shared library is a pure C library and not a Python library. For reasons of simplici
You can create a Python package which includes shared libraries and works on (almost) any linux distro using manylinux.
The goal of the manylinux project is to provide a convenient way to distribute binary Python extensions as wheels on Linux. This effort has produced PEP 513 which defines the
manylinux1_x86_64andmanylinux1_i686platform tags.
The general procedure is:
See .travis.yml and build-wheels.sh in the python-manylinux-demo repo for an example.