[Matplotlib-devel] Advice on building wheels for Linux

Matthew Brett matthew.brett at gmail.com
Sat Apr 23 13:04:08 EDT 2016


I have been working on building manylinux [1] wheels for matplotlib.

My first-pass at a recipe for a matplotlib wheel is here:


The main work is deciding which external libraries to build - here's
that part of the recipe:


In short, I'm building libz, libbz2, libjpeg, libpng and freetype.

Is that the right list?  Should I add more?

I have built wheels for testing at https://nipy.bic.berkeley.edu/manylinux:

# upgrade pip to latest for manylinux support
python -m pip install --upgrade pip
pip install -f https://nipy.bic.berkeley.edu/manylinux matplotlib

I would be very grateful for any feedback,

Thanks a lot,


[1] https://www.python.org/dev/peps/pep-0513/

More information about the Matplotlib-devel mailing list