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

Re: PYTHONPATH in viewcvs with svn

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-01-26 21:07:17 CET

Bryan Simmons wrote:
> I noticed that when testing my installation of the
> svn-python swig
> bindings that I couldn't do an "import svn" at first.
> I had to add /usr/local/lib/svn-python to my
> $PYTHONPATH variable.

I'm not sure where I got this advice from (probably the list), but I have done this:

   ln -s /usr/local/lib/svn-python/libsvn/ /usr/lib/python2.2/site-packages
   ln -s /usr/local/lib/svn-python/svn/ /usr/lib/python2.2/site-packages

which will have the correct effect. Upgrading Subversion doesn't disturb this,
so you are always running with the current library files.

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 26 21:08:55 2004

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.