Friday, December 30, 2005

Subversion with Python 2.4

Buried deep in the comments on one of Simon Brunner's posts I found a reference to Eugene Lazutkin's setup where he hacked the Python SVN bindings to work with Python 2.4. I am pleased to report that his hack worked beautifully for me and I am now the proud owner of a Trac installation running on Subversion v1.2.3 and Python 2.4.

The trick is to download the Python 2.3 bindings in ZIP format, then unzip them and drop them into your site-packages folder. Once this is done, fire up a hex editor and edit each of the DLLs that are installed in the libsvn package and replace all instances of the string python23.dll with the string python24.dll. That's all there is to it.

1 comment:

Flávio Henrique Sestari said...

Isto funciona realmente ?
Não haverá nenhum problema ou bug ?
-----
This really work ?
Will not have any problem or bug ?