Monday, 26 August 2013

Using release version of Python embedded in both debug and release builds

Using release version of Python embedded in both debug and release builds

I am the developer for a small wrapper for the python plotting library
matplotlib for use in C++ (matplotlib2cpp). The wrapper is in it's
infancy, but I have a small problem that I am running into that I can't
resolve.
I would like to embed the release version of Python when I compile
projects that use matplotlib2cpp, both in debug builds and release builds.
I don't need the ability to debug python. The biggest problem is that I
can't rebuild matplotlib in debug mode on windows - I have never had any
success with this. I have been able to rebuild python on windows in debug
mode though, although it is a pain to deal with the dependencies.
Is there a way to always embed the release version of Python so that I
only need to worry about one set of packages?

No comments:

Post a Comment