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

Re: dest for 'make install-swig-py'

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-02-25 01:30:50 CET

On Mon, Feb 24, 2003 at 10:23:26PM +0000, Philip Martin wrote:
> Karl Fogel <kfogel@newton.ch.collab.net> writes:
>
> > What's the right solution here? Should the bindings be installed in
> > /usr/local/lib/pythonX.Y/site-packages/,
>
> I think installing outside --prefix is evil, unless Subversion is
> explicitly configured to do so.
>
> What happens if I have Subversion 0.18 installed and I install HEAD
> locally to experiment? If you overwrite the 0.18 Python installation
> you may break it. --prefix is the only safe place to put it.

Right. This was the logic behind my comment at the end of issue 1125:

  http://subversion.tigris.org/issues/show_bug.cgi?id=1125

I think there is still some more work, however. If the prefix matches that
of Python itself, then we ought to put the bindings into Python's
site-packages directory.

But... if you don't install there, then people have a number of options:

  * set PYTHONPATH
  * adjust sys.path in .pythonrc
  * adjust sys.path in individual scripts
  * ??? many other possibilities

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 Tue Feb 25 01:26:23 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.