Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-23 Thread Stephen J. Turnbull
Floris Bruynooghe writes: > [dist-packages] is a pretty neat solution to the problem. To what problem? I admit I am no expert on Python packaging, but my experience with XEmacs suggests that this is the distro trying to help with a *set* of problems that the user/sysadmins really should be hand

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-23 Thread Floris Bruynooghe
On Thu, Jul 23, 2009 at 10:34:30AM +0200, M.-A. Lemburg wrote: > Python 2.6 has two standard places for installing packages: > > 1. In the stdlib site-packages/ subdir > > 2. In the user home dir's .local/lib/python2.6/site-packages dir And is missing a 3rd one. The sysadmin who wants to instal

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-23 Thread david . lyon
Hi Floris, That's exactly how I see it and i totally agree. My contribution is to make a Package Manager Gui that tries to be supportive of what you describe so well. If i have any complaint about the state of affairs it would only be that it takes a newcomer such a long time (months) to fully u

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-23 Thread Floris Bruynooghe
On Wed, Jul 22, 2009 at 07:08:26PM -0400, Glenn Maynard wrote: > On Wed, Jul 22, 2009 at 5:22 PM, M.-A. Lemburg wrote: > > Maybe I've misunderstood some important detail, but how will > > their "change" help with anything other than making their > > distribution a non-standard Python installation ?

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-23 Thread M.-A. Lemburg
David Lyon wrote: > On Wed, 22 Jul 2009 23:22:56 +0200, "M.-A. Lemburg" wrote: >> Maybe I've misunderstood some important detail, but how will >> their "change" help with anything other than making their >> distribution a non-standard Python installation ? > > The Debian/ubuntu distribution isn't

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-22 Thread Glenn Maynard
On Wed, Jul 22, 2009 at 5:22 PM, M.-A. Lemburg wrote: > Maybe I've misunderstood some important detail, but how will > their "change" help with anything other than making their > distribution a non-standard Python installation ? I think I'm a little confused, too, because Python supports the /usr|

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-22 Thread M.-A. Lemburg
James Y Knight wrote: > > On Jul 22, 2009, at 4:49 AM, M.-A. Lemburg wrote: > >> Debian has a long history of doing this different, so it's >> not much of a surprise. They also apply such changes to >> Python packages. >> >> However, all of this is non-standard and will cause problems >> with too

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-22 Thread James Y Knight
On Jul 22, 2009, at 4:49 AM, M.-A. Lemburg wrote: Debian has a long history of doing this different, so it's not much of a surprise. They also apply such changes to Python packages. However, all of this is non-standard and will cause problems with tools that rely on the standard site-packages/

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-22 Thread Glenn Maynard
On Wed, Jul 22, 2009 at 10:26 AM, Tres Seaver wrote: > You missed my point:  I know that sys.prefix etc. is set based on the > location of the executable.  You were complaining that setuptools / > distutils wants to put files in an "OS-controlled directory":  I was > asking how Python was supposed

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Lyon wrote: > On Tue, 21 Jul 2009 13:41:41 -0400, Tres Seaver > wrote: >> Consider the case where the user has built a separate python (e.g., to >> avoid conflicting with the OS version) in /opt/PythonX.y: are you >> actually saying that distu

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-22 Thread M.-A. Lemburg
James Y Knight wrote: > On Jul 21, 2009, at 7:38 PM, David Lyon wrote: >> When I go into python on ubuntu I see there is /usr/local/pythonX.X/lib/ >> site-packages and I'm wondering why the hubba setuptools/distutils >> doesn't put packages there by default. That would solve a lot of >> problems. >

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-21 Thread James Y Knight
On Jul 21, 2009, at 7:38 PM, David Lyon wrote: When I go into python on ubuntu I see there is /usr/local/pythonX.X/ lib/ site-packages and I'm wondering why the hubba setuptools/distutils doesn't put packages there by default. That would solve a lot of problems. Just leave /usr/lib/pythonX.X//l

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Szakmeister wrote: > On Sun, Jul 19, 2009 at 7:13 PM, David Lyon wrote: > [snip] >> The main problem imho has been that easy_install by default >> has installed to /usr/lib/pythonX.X/site-packages when in >> fact that really is an operating system

Re: [Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

2009-07-21 Thread John Szakmeister
On Sun, Jul 19, 2009 at 7:13 PM, David Lyon wrote: [snip] > The main problem imho has been that easy_install by default > has installed to /usr/lib/pythonX.X/site-packages when in > fact that really is an operating system controlled directory. > > So naughty naughty to setuptools I've witnesse