Re: [Distutils] What's missing from easy_install

2009-04-12 Thread David Cournapeau
Bill Campbell wrote: > On Sun, Apr 12, 2009, Garrett Cooper wrote: > >> On Tue, Apr 7, 2009 at 8:05 AM, Neal Becker wrote: >> >>> 1. easy_remove! >>> >>> 2. Various utilities to provide query package management. >>> - easy_install --list (list files installed) >>> >>Implementi

Re: [Distutils] What's missing from easy_install

2009-04-12 Thread Bill Campbell
On Sun, Apr 12, 2009, Garrett Cooper wrote: >On Tue, Apr 7, 2009 at 8:05 AM, Neal Becker wrote: >> >> 1. easy_remove! >> >> 2. Various utilities to provide query package management. >>   - easy_install --list (list files installed) > >Implementing is easier said than done, and I think you got

Re: [Distutils] RFC: Updating PEP 345

2009-04-12 Thread zooko
On Apr 12, 2009, at 10:06 AM, Tres Seaver wrote: ... there seem to be many tools out there which are designed to work with the current egg metadata. The fewer unnecessary name- changes we impose, the more likely the authors of all those tools will update their tools to interoperate with the

Re: [Distutils] What's missing from easy_install

2009-04-12 Thread Garrett Cooper
On Tue, Apr 7, 2009 at 8:05 AM, Neal Becker wrote: > > 1. easy_remove! > > 2. Various utilities to provide query package management. >   - easy_install --list (list files installed) Implementing is easier said than done, and I think you got that idea from the lack of response from folks... HT

Re: [Distutils] How to make easy_install handle platlibs?

2009-04-12 Thread P.J. Eby
At 10:43 AM 4/12/2009 -0700, Buck Golemon wrote: On Sun, Apr 12, 2009 at 8:54 AM, Andrew Straw <straw...@astraw.com> wrote: zooko wrote: > However, it currently doesn't. Eggs built on Linux are named something > like py2.5-Linux-x86_64. To know whether such an egg

Re: [Distutils] How to make easy_install handle platlibs?

2009-04-12 Thread P.J. Eby
At 12:36 AM 4/12/2009 -0700, Buck Golemon wrote: On Fri, Apr 10, 2009 at 9:15 PM, P.J. Eby <p...@telecommunity.com> wrote: At 08:53 PM 4/10/2009 -0700, Buck wrote: I see the kernel version and architecture, but this is insufficient; RedHat 4 and RedHat 5 both use a

Re: [Distutils] How to make easy_install handle platlibs?

2009-04-12 Thread Andrew Straw
zooko wrote: >> Yes, if you used symbols from any shared library in an extension >> module, you'd need to know the version of that shared library. So it's >> not just libc. This is the same on any OS, not just linux. > > Wait a minute, an extension module built into the Python Standard > Library,

Re: [Distutils] How to make easy_install handle platlibs?

2009-04-12 Thread zooko
Yes, if you used symbols from any shared library in an extension module, you'd need to know the version of that shared library. So it's not just libc. This is the same on any OS, not just linux. Wait a minute, an extension module built into the Python Standard Library, you mean? Because fo

Re: [Distutils] How to make easy_install handle platlibs?

2009-04-12 Thread Buck Golemon
On Sun, Apr 12, 2009 at 8:54 AM, Andrew Straw wrote: > zooko wrote: > > However, it currently doesn't. Eggs built on Linux are named something > > like py2.5-Linux-x86_64. To know whether such an egg would actually > > work on your Linux system, you would also need to know whether the > > Pytho

Re: [Distutils] RFC: Updating PEP 345

2009-04-12 Thread Tarek Ziadé
On Sun, Apr 12, 2009 at 5:47 PM, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jim Fulton wrote: >> On Apr 11, 2009, at 2:09 PM, Tres Seaver wrote: > >>> BBB concerns often trump TOOWTDI. >> >> >> Sure, but there's no BBB concern here -- unless we create one. > > Your de

Re: [Distutils] RFC: Updating PEP 345

2009-04-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 zooko wrote: > On Apr 11, 2009, at 8:13 AM, Jim Fulton wrote: > >> fwiw, I'd also prefer calling the PKG-INFO field Install-Requires. > > +1 from me. > > I was just browsing pypi, and there seem to be many tools out there > which are designed to w

Re: [Distutils] How to make easy_install handle platlibs?

2009-04-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 zooko wrote: >> It would probably be a lot easier to improve the platform string >> generation and comparison logic, as has been done for OS X. > > As PJE has mentioned, the intent is that the egg name should contain > enough information to decide

Re: [Distutils] How to make easy_install handle platlibs?

2009-04-12 Thread Andrew Straw
zooko wrote: > However, it currently doesn't. Eggs built on Linux are named something > like py2.5-Linux-x86_64. To know whether such an egg would actually > work on your Linux system, you would also need to know whether the > Python was compiled with UCS-2 or UCS-4 internal unicode representatio

Re: [Distutils] RFC: Updating PEP 345

2009-04-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: > On Apr 11, 2009, at 2:09 PM, Tres Seaver wrote: >> BBB concerns often trump TOOWTDI. > > > Sure, but there's no BBB concern here -- unless we create one. Your desire to preserve the 'install_requires' argument feels like a backw

Re: [Distutils] RFC: Updating PEP 345

2009-04-12 Thread zooko
On Apr 11, 2009, at 8:13 AM, Jim Fulton wrote: fwiw, I'd also prefer calling the PKG-INFO field Install-Requires. +1 from me. I was just browsing pypi, and there seem to be many tools out there which are designed to work with the current egg metadata. The fewer unnecessary name-changes w

Re: [Distutils] Buildout recipe for managing .deb packages?

2009-04-12 Thread zooko
I've gotten several suggestions, I like the stdeb approach but it adds another learning curve. sudo apt-get install build-essential fakeroot debhelper python ./setup.py sdist_dsc cd deb_dist cd $YOUR_PACKAGE_NAME dpkg-buildpackage -rfakeroot -us -uc And if it doesn't work, please let us know!

Re: [Distutils] How to make easy_install handle platlibs?

2009-04-12 Thread zooko
It would probably be a lot easier to improve the platform string generation and comparison logic, as has been done for OS X. As PJE has mentioned, the intent is that the egg name should contain enough information to decide if that egg will work on your platform. For example, if it says "py

Re: [Distutils] RFC: Updating PEP 345

2009-04-12 Thread Jim Fulton
On Apr 11, 2009, at 2:09 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: On Apr 11, 2009, at 8:20 AM, Chris Withers wrote: Tarek Ziadé wrote: I don't think it's a good idea to have a different name in PKG-INFO and in the arguments to describe the same

Re: [Distutils] Adding alias into Distutils ?

2009-04-12 Thread Akira Kitada
-1. Please keep it simple and let 3rd party tools do the fancy things. Simple is better than complex. On Sun, Apr 12, 2009 at 12:02 AM, Tarek Ziadé wrote: > Hello > > setuptools 'alias' command is very handy >

Re: [Distutils] How to make easy_install handle platlibs?

2009-04-12 Thread Buck Golemon
On Fri, Apr 10, 2009 at 9:15 PM, P.J. Eby wrote: > At 08:53 PM 4/10/2009 -0700, Buck wrote: > >> I see the kernel version and architecture, but this is insufficient; >> RedHat 4 and RedHat 5 both use a 2.6 kernel, but the difference in >> provided libraries are sufficient to make many (most?) "im