[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: windows python bindings for subversion

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-09-06 04:12:08 CEST

David James wrote:

>On 9/4/05, Branko Čibej <brane@xbc.nu> wrote:
>
>
>>David James wrote:
>>
>>
>>
>>>On 8/28/05, peter frankenberger <peter.frankenberger@telus.net> wrote:
>>>
>>>
>>>
>>>
>>>>Hi,
>>>>
>>>>I've developed a freeware Windows tool for bulk renaming of files. I
>>>>would like to extend it to include renaming of files controlled by SVN.
>>>>The tool is written using python 2.4 but unfortunately the only
>>>>available SVN binding is for python 2.3.
>>>>
>>>>Does anyone know if bindings for Python 2.4 will be available soon? If
>>>>not, can anyone show me how to make the bindings myself?
>>>>
>>>>
>>>>
>>>>
>>>Hi Peter,
>>>
>>>For testing purposes, I've compiled a prerelease version of the
>>>Subversion bindings for Python 2.4 on Windows. On my machine, these
>>>bindings pass the Subversion test suite.
>>>
>>>Download it at:
>>> http://www.cs.toronto.edu/~james/svn-python/
>>>
>>>Hope this helps!
>>>
>>>
>>>
>>>
>>Maybe I have to explain, again, why the officially unofficial Windows
>>binary distro of Subversion only comes with Python 2.3 bindings. It's a
>>matter of compatibility. The Subversion binaries must work with the
>>Apache 2.0.x binaries, which are compiled with MSVC 6. Because of
>>runtime compatibility issues, Subversion must therefore also be compiled
>>with MSVC 6. Python 2.3 is the last version where the binaries available
>>from python.org are compiled with MSVC 6. Python 2.4 uses a newer
>>version of the compiler, and depends on a newer version of the C runtime
>>library, which is incompatible with Subversion's.
>>
>>I'm told Apache 2.2.x will move to this newer compiler. When that
>>happens, Subversion can also switch, and we can create Python 2.4
>>binings by default. I don't know where that leaves us with Perl, though.
>>
>>
>
>Can we switch to Microsoft Visual Studio.NET for just the Python 2.4 bindings?
>
>If we compile the Python bindings statically, and install all needed
>DLL files into the Python library directory, we don't need to worry
>about binary compatibility. For an example of this technique in
>action, see http://www.cs.toronto.edu/~james/svn-python/
>
>
Feel free to provide such a binary package. I'm not stopping anyone, but
I won't do it myself. I've got enough other stuff on my plate.

Just don't forget that you have to build and statically link with all of
APR, too -- especially apr-iconv -- and that's likely to be a bigger
problem than anyone wants to deal with.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 6 04:12:42 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.