[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: David James <james82_at_gmail.com>
Date: 2005-09-04 21:34:10 CEST

On 9/4/05, Branko Èibej <brane_at_xbc.nu> wrote:> David James wrote:> > >On 8/28/05, peter frankenberger <peter.frankenberger_at_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 compatibi
lity. 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 neededDLL files into the Python library directory, we don't need to worryabout binary compatibility. For an example of this technique inaction, see http://www.cs.toronto.edu/~james/svn-python/
Cheers,
David

-- David James -- http://www.cs.toronto.edu/~james
Received on Sun Sep 4 21:36:31 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.