By a complex package, I mean a package with pure Python code as well as code in other languages like C, Fortran, etc.
Note: I am assuming that your setup.py
already works, and I will show you how to create a manylinux
Python wheel. You will need Docker for this.
To create a distribution of your Python package with statically linked libraries (i.e., a self-contained package), you need to use a Linux distribution that provides all necessary dependencies. This is where manylinux comes in handy.