[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: Alina Frey <afrey_at_modusoperandi.com>
Date: Fri, 28 Jan 2011 14:05:19 -0500

Yes, I am on Windows.
I installed Apache Subversion (Setup-Subversion-1.6.15.msi). No previous
versions installed.
You mentioned that I need to stop apache server. How do I know if it's
running?
You mentioned that we need to copy mod_*.so files to the apache modules
folder. Was I supposed to have an apache folder anywhere (where?). Was I
supposed to install apache separately? Or it's included in Python somewhere?
I copied svn and libsvn folders to C:\Python26\Lib\site-packages.
What did you mean by "copied all libsvn\_*.dll files to _*.pyd"? Move all
the dll files from under libsvn to one folder up and modify the extension to
pyd?

I appreciate any input. Thank you,

- Alina.

-----Original Message-----
From: Cooke, Mark [mailto:mark.cooke_at_siemens.com]
Sent: Friday, January 28, 2011 3:05 AM
To: Alina Frey
Cc: users_at_subversion.apache.org
Subject: RE: Python 2.6 bindings

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...

  • application/x-pkcs7-signature attachment: smime.p7s
Received on 2011-01-28 20:06:00 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.