[Distutils] Platform naming standardization
Tarek Ziadé
ziade.tarek at gmail.com
Wed Jan 13 01:18:36 CET 2010
On Tue, Jan 12, 2010 at 7:08 PM, Nate Coraor <nate at psu.edu> wrote:
> Hi,
>
> I'm involved with a software project that makes extensive use of third party
> modules with C extensions. To ease installation, we pre-build them for some
> popular platforms and provide a distribution system for the app to fetch
> them.
>
> setuptools uses distutils.util.get_platform() to decide whether an egg found
> on the path is compatible, with some special extra magic added in for Mac OS
> X. Unfortunately, get_platform() as implemented does not provide enough
> information to ensure binary compatibility.
I think that this has to be discussed at Distutils/stdlib level.
Notice that I am currently in the
process of moving get_platform() out of Distutils, so it leaves in its
own module in the stdlib.
[..]
>
> It's not even crucial to me that these be fixed, but before I continue to
> hack up the platform string, I wanted to ask the SIG to address these issues
> and hopefully decide on a standard. That way, I can at least implement
> patches in my app that will be compatible with whatever (if anything) is
> decided.
Nothing has been decided yet on this. If you provide a patch for
get_platform() with a rational,
we can start the discussion here and work on a standard, we can then
bring it up at python-dev
once its ready.
Regards
Tarek
More information about the Distutils-SIG
mailing list