This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [python] proper setting of sys.path
On Tue, Dec 16, 2008 at 01:07:59PM -0700, Tom Tromey wrote:
> I suppose the underlying question is -- what kinds of deployments do
> we want to support?
>
> I think at least three:
>
> 1. The distro case: python and gdb are both in /usr.
> 2. The gdb-hacker-using-a-distro case: python is in /usr and gdb is not.
> 3. The toolchain vendor case: python and gdb are installed in the same
> $prefix, which is relocatable as a whole.
That's my list too. In my ideal world, #3 would use the system
Python. But free software moves too fast and distributions are too
unpredictable; as long as Python depends on modules matching the
interpreter version, I don't see any sane way to distribute GDB
linked to Python without including the whole Python distribution.
--
Daniel Jacobowitz
CodeSourcery