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

2009-04-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Cournapeau wrote: Buck wrote: I have no clue what you mean by 'sdists'. Is this a widely-known thing? sdist is the name of the distutils command - it just means distributing a source tarball. Nope, by sdist I mean the specific

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

2009-04-13 Thread Buck
On Apr 12, 12:46 pm, P.J. Eby p...@telecommunity.com wrote: On Sun, Apr 12, 2009 at 8:54 AM, Andrew Straw mailto:straw...@astraw.comstraw...@astraw.com wrote: On the other hand, sticking the egg into the place that distutils uses when not under easy_install would fix this much more simply,

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

2009-04-13 Thread Buck
On Apr 12, 8:51 am, Tres Seaver tsea...@palladion.com wrote: 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. However, it (egg naming scheme on Linux) currently doesn't.   Eggs built on Linux are

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

2009-04-13 Thread P.J. Eby
At 11:11 AM 4/13/2009 -0700, Buck wrote: On Apr 12, 12:46 pm, P.J. Eby p...@telecommunity.com wrote: On Sun, Apr 12, 2009 at 8:54 AM, Andrew Straw mailto:straw...@astraw.comstraw...@astraw.com wrote: On the other hand, sticking the egg into the place that distutils uses when not under

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

2009-04-13 Thread P.J. Eby
At 11:16 AM 4/13/2009 -0700, Buck wrote: On Apr 12, 8:51 am, Tres Seaver tsea...@palladion.com wrote: 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. However, it (egg naming scheme on Linux)

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

2009-04-13 Thread David Cournapeau
Buck wrote: I have no clue what you mean by 'sdists'. Is this a widely-known thing? sdist is the name of the distutils command - it just means distributing a source tarball. cheers, David ___ Distutils-SIG maillist - Distutils-SIG@python.org

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

2009-04-13 Thread Ben Finney
David Cournapeau da...@ar.media.kyoto-u.ac.jp writes: Buck wrote: I have no clue what you mean by 'sdists'. Is this a widely-known thing? sdist is the name of the distutils command - it just means distributing a source tarball. Again, please stop blurring the distinction. I can only

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 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 2.6 kernel, but the difference in provided libraries are sufficient to make

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

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 representation,

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, you

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 mailto:p...@telecommunity.comp...@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 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 mailto:straw...@astraw.comstraw...@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