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

RE: RE: Problems with python bindings and ViewCVS

From: Craig L. Ching <cching_at_mqsoftware.com>
Date: 2004-02-06 16:23:41 CET

> You can:
> A. Hardcode the path to your svn-python libs into the
> viewcvs.py.
> B. Add the svn-python libs path to the PYTHONPATH env
> var of the user
> who runs apache2.
> C. Create a symbolic link in your /usr/lib/python2.x
> directory that
> points to your svn-python directory.
>
You can also add PYTHONPATH as an environment variable in the Directory directive where you run viewcvs.cgi:

<Directory "/usr/local/apache2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    SetEnv PYTHONPATH /usr/local/lib/svn-python
</Directory>

Starting to sound like a broken record, maybe someone should add this as a FAQ, probably on the ViewCVS project site.

Cheers,
Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 6 16:50:35 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.