Hello, and thank you for the time,
I'm currently in a project where I need to support 2 versions of the same program.
One version (the current one) uses Python 1.5.2, the new version, which I'm currently building, must use Python 2.5.
To ensure maximum compatibility between the 2 versions, I want to change import.c of Python 2.5. And I want to make a static library (so that no end user can accidently replace the lib).
But before I do that, I want to do a test build (of Python) to see if it builds correctly.
Here is where I hit the problem.
I've looked through pyconfig.h and saw that I needed to define Py_NO_ENABLE_SHARED to disable dynamic linking (which I did).
But I'm having some problems with actually building it.
I don't need MSI or SQLite (so I've unloaded them).
But for some reason I can't seem to get it compiled (not even out of the box).
I'm using Microsoft Visual Studio 2005 Profesional, on a Windows XP Pro box.
To rephrase it, I want to compile Python 2.5 as a static library without MSI and sqlite.
If I can get it compiled, then it's a small step to edit import.c for my needs.
Thank you for your time,
MLeo