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

PYTHONPATH in viewcvs with svn

From: Bryan Simmons <bznutz_is_king_at_yahoo.com>
Date: 2004-01-26 20:48:14 CET

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. But
now when I run viewcvs.cgi I'm getting the same
problem. Whatever
environment viewcvs runs in is devoid of the knowledge
of my svn-python
libs. So I symlinked the folder to /usr/lib/python2.2
as svn
-->/usr/local/lib/svn-python. But even that didn't
fix the problem. My
last resort here is to hardcode the library path into
sys.path in the
actual veiwcvs.cgi script. But that seems a little
harsh. Is there
something else about this that maybe I don't know?

Regards,

Bryan Simmons
Network Systems Engineer
General Physics
410.379.3710
bsimmons@genphysics.com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 26 20:49:02 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.