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

Re: ImportError: No module named svn

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-03-03 23:58:38 CET

On Mon, Mar 03, 2003 at 10:44:26PM +0100, mailing.lists@gmx.net wrote:
>...
> but when in try python setup.py install in the swig/python dir

Don't use setup.py (it is still there until the Windows guys come up with a
new process; I think they have, but haven't been able to track recent
progress well).

Instead, just do this from the top level:

$ make install-swig-py

By default, that will place the bindings into $libdir/svn-python. For
example, on my system, that is /usr/local/svn/lib/svn-python

You can manually copy that into your Python site-packages area, or you can
adjust your PYTHONPATH to point to the svn-pytho area, or adjust sys.path to
point there, too.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 3 23:53:41 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.