CMake and manylinux Python Wheels

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

CMake and manylinux Python Wheels

Seth G
Hi list,

I'm in the process of updating some SWIG Python bindings for the opensource project MapServer. This uses CMake for the
build process, and my latest version of CMakeLists can be seen at:

I'm trying to automate the creation of Python Wheels for Linux, using the manylinux project ( In order to create Wheels that work on
many different versions of Linux Python ( can't be linked to the Python extension - Python symbols need to be resolved at run-time. I'm not which compiler flags to add, or how to add them using CMake. From many searches I have found the following links are the closely related:

However both projects are very complex so I'm unable to find exactly how they resolved it. Any hints on how to achieve this are appreciated.
Please keep in mind both CMake and SWIG are fairly new to me. Any other suggestions/improvements to the CMakeLists file are very welcome.



twitter: @geographika

Powered by

Please keep messages on-topic and check the CMake FAQ at:

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: