I believe that I have everything setup correctly, but who knows...
In my /etc/profile.d/python.sh, I have:
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/svn-python
In the /etc/apache2/conf.d directory, I have a trac.conf file and in it
I have:
SetEnv PYTHONPATH=$PYTHONPATH:/usr/local/lib/svn-python
In the /usr/local/lib/svn-python directory, all the files are dated
with todays date.
Also, when I do an 'make install-swig-py', some of the output shows:
Listing /usr/local/lib/svn-python/libsvn ...
Compiling /usr/local/lib/svn-python/libsvn/__init__.py ...
Compiling /usr/local/lib/svn-python/libsvn/client.py ...
Compiling /usr/local/lib/svn-python/libsvn/core.py ...
Compiling /usr/local/lib/svn-python/libsvn/delta.py ...
Compiling /usr/local/lib/svn-python/libsvn/fs.py ...
Compiling /usr/local/lib/svn-python/libsvn/ra.py ...
Compiling /usr/local/lib/svn-python/libsvn/repos.py ...
Compiling /usr/local/lib/svn-python/libsvn/wc.py ...
Listing /usr/local/lib/svn-python/svn ...
Compiling /usr/local/lib/svn-python/svn/__init__.py ...
Compiling /usr/local/lib/svn-python/svn/client.py ...
Compiling /usr/local/lib/svn-python/svn/core.py ...
Compiling /usr/local/lib/svn-python/svn/delta.py ...
Compiling /usr/local/lib/svn-python/svn/fs.py ...
Compiling /usr/local/lib/svn-python/svn/ra.py ...
Compiling /usr/local/lib/svn-python/svn/repos.py ...
Compiling /usr/local/lib/svn-python/svn/wc.py ...
--- Christian Boos <[EMAIL PROTECTED]> wrote:
> Jeff Lanzarotta wrote:
> > I am using swig-1.3.24-4.i586.rpm.
> >
> > I did a 'make distclean' in the subversion directory.
> > Did a 'make swig-py' to make the python bindings.
> > Did a 'make install-swig-py' to install the bindings.
> >
>
> At this point, you must also check that those bindings will get used.
> The install above installs in the subversion install tree
> (e.g. /opt/subversion-1.x.y/lib/svn-python).
> You have to make your PYTHONPATH environment variable point to that
> location,
> or alternatively copy the svn and libsvn folders you'll find there
> into
> the site-packages
> folder of your python installation.
>
> -- Christian
>
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac