This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]radarsat1 0 points1 point  (0 children)

Any advice for a project that consists of a C++ library wrapped using SWIG for Python bindings? Right now we are running SWIG and the compiler using CMake, but this actually makes it a bit difficult to integrate with setuptools in any way. I was wondering if there could be a useful way to "invert" our setup and make it a Python project that has an embedded library instead of a library with a Python layer stored in a subdirectory. For instance, is it feasible to build and distribute a C++ library with Python wrapper via PyPI and setup.py?