Wednesday, April 15, 2009

PyXMLSec Windows Binary

Xmlsec Python Bindings for Windows

Getting the python xmlsec library to work on windows is a bit of work though it really shouldn't be. Provided here are windows installers for xmlsec. The installer itself is produced by python distutils.

In order to get it to work you will also need libxml2. I am providing a copy of it here as well.

pyxmlsec-0.3.0.win32-py2.6.exe
libxml2-python-2.7.3.win32-py2.6.exe

I used MinGW for compilation. The entire environment I used to compile pyxmlsec is available here. Look inside the pyxmlsec directory for build.bat.
PythonWindowsCompileEnvironment.zip

7 comments:

fengfk2008 said...
This comment has been removed by a blog administrator.
StudentTempAcc said...

Your links to the exe files dont seem to be working any more

Jeff Tchang said...

I updated the links.

Kalombo said...

Hi. I am using your packages but i've got "ImportError: DLL load failed:" when i wrote "import xmlsecmod" Why it happens?

Do you have a binding for python 2.7?
Help me please.

Kalombo said...
This comment has been removed by the author.
alexander chistyakov said...

@Jeff Tchang, thank you for the binaries.

@Kalombo, I had the same problem. I installed Win32 OpenSSL and Visual C++ 2008 Redistributables from there:
http://slproweb.com/products/Win32OpenSSL.html

Andrew Ribeiro said...
This comment has been removed by the author.