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

RE: Python 2.6 bindings

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Fri, 28 Jan 2011 08:04:58 -0000

Hello,

> -----Original Message-----
> From: Alina Frey [mailto:afrey_at_modusoperandi.com]
> Sent: 27 January 2011 20:14
> To: users_at_subversion.apache.org
> Subject: Python 2.6 bindings
>
> I am new to Subversion. Need to use Subversion with Trac.
> Trac requires Python, therefore I need the Python bindings,
> so I downloaded svn-win32-1.6.13_py.zip
> <http://alagazam.net/svn-1.6.13/svn-win32-1.6.13_py.zip> .
> Would you please let me know what do I need to do after I
> extract all the files from svn-win32-1.6.13_py.zip
> <http://alagazam.net/svn-1.6.13/svn-win32-1.6.13_py.zip> ?
>
> Thank you,
>
> Alina.
>
As you mention alagazam, I will assume you are on windows... However,
why are you installing 1.6.13 when 1.6.15 is available?

I asked almost this question a while back (on the Trac Users mailing
list) and did not really get an answer. However, some searching of both
svn and Trac documentation lead me to write the following notes for
myself which is what I now follow. Let me know if this works for you
too (obviously you can ignore the first two steps)...

Upgrading the Python Bindings for Subversion:
=============================================

Just to complete this thread with the hope of being useful to someone
else,
this is what I did to install the latest svn from Algazam onto windoze:

~ stopped the apache service

~ uninstalled all previous subversion instances (tidying up really)

~ ran the Algazam windows .msi installer

~ copied the latest mod_*.so files from the install location to the
  apache modules directory (overwriting the old ones)

~ deleted the old svn and libsvn directories from
C:\Python26\Lib\site-packages

~ opened the python bindings .zip and copied the two directories
  to site-packages

~ copied all libsvn\_*.dll files to _*.pyd [1]

~ restarted the server and crossed fingers...

[1] I found this recommended in the t.e.o wiki at TracSubversion...
    http://trac.edgewall.org/wiki/TracSubversion#forPython2.6

In other words, it was fine to just delete the old files from
site_packages
and copy the new ones in there, with just a bit of fiddling about!

~ mark c

P.S. please consider using plain text email for this list...
Received on 2011-01-28 09:05:41 CET

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

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