Issue1

Title amd64 eggs are called x86_64
Priority wish Status chatting
Superseder Nosy List asmodai, pjenvey, zooko
Assigned To Keywords

Created on 2008-05-08.09:03:12 by asmodai, last changed 2009-10-15.23:41:16 by zooko.

Messages
msg412 (view) Author: zooko Date: 2009-10-15.23:41:16
I opened http://bugs.python.org/issue7146 ([PATCH] platform.uname()[4] returns
'amd64' on Windows and 'x86-64' on Linux) and contributed a patch.
msg411 (view) Author: zooko Date: 2009-10-15.22:36:14
pjenvey is right: setuptools just relies on distutils which relies on os.uname
which relies on the underlying operating system.  Unfortunately if you are on
the amd64 architecture then Linux returns 'x86-64' while Windows returns
'amd64'.  It seems to me that the Lib/platform.py module should unify this so
that you get the same string denoting that particular 64-bit CPU architecture
regardless of what operating system you are on.  I guess this calls for a patch
to Lib/platform.py to get the return value from invoking 'uname' on Linux,
checking if the answer was 'x86-64' and replacing it with 'amd64'?
msg212 (view) Author: pjenvey Date: 2008-11-26.01:47:04
This isn't a setuptools problem. distutils determines this name 
(distutils.utils.get_platform) via os.uname (so arguably it's the OS's problem?
).

setuptools just uses the distutils for determining the name, and we wouldn't 
want to be out of sync with it anyway
msg135 (view) Author: zooko Date: 2008-08-26.23:53:37
+1
msg1 (view) Author: asmodai Date: 2008-05-08.09:03:10
Currently eggs created for amd64 platforms are called x86_64 in the egg
filename. AMD renamed x86_64 to amd64 and asked people to follow suit.
Also Python uses the amd64 nomenclature:
http://mail.python.org/pipermail/python-bugs-list/2006-December/036400.html and
http://mail.python.org/pipermail/python-dev/2008-May/079056.html

As such, to limit end-user confusion eggs should be named amd64 as well instead
of x86_64.
History
Date User Action Args
2009-10-15 23:41:16zookosetstatus: resolved -> chatting
messages: + msg412
2009-10-15 22:36:14zookosetstatus: chatting -> resolved
messages: + msg411
2008-11-26 01:47:05pjenveysetnosy: + pjenvey
messages: + msg212
2008-08-26 23:53:37zookosetstatus: unread -> chatting
nosy: + zooko
messages: + msg135
2008-08-05 14:51:03pjesetpriority: bug -> wish
2008-05-08 09:03:12asmodaicreate