Visions of Aestia

29 Apr 2005

Success - Redland/Python on Windows!

Filed under: PlanetRDF, Python — JBowtie @ 1:57 pm

UPDATE: An updated version is available; see the official announcement.

This is a DEBUG port of the Redland 1.0.0.2 Python bindings (and the underlying Redland 1.0.0 code). I’ve created a Windows installer for the binaries using distutils. If you can, please mirror it (and give the location in the comments) - my allocated bandwidth is meager.

Thanks to this tip from Suzan Foster, I was able to get everything sorted. I’ll need to figure out exactly what I did, document it, and push it back to Dave for inclusion in the standard distribution. I’ll also split out the C dlls and put a zip for people who are not using Python (like the folks working on other bindings).

Probably I’ve dropped some stuff; I’ll look into that after the cleanup and debrief.

I can run example.py and test.py from the standard bindings package; both run all the way through. After the cleanup I’ll look at assembling a real unit test package for the Python bindings. In the meantime, please leave a comment if you have any issues; it’ll give me an idea of what things I may have dropped/disabled.

For those that care, I’m using libxml2 and compiled with multithreaded support. This was compiled against Python 2.4 using the Visual C+ compiler that ships as part of the .NET Framework 1.1 SP1 (cl.exe reports version 13.10.3077).

Powered by WordPress