This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author siming85
Recipients dstufft, eric.araujo, siming85
Date 2017-08-16.20:38:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502915886.08.0.1769752437.issue31211@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Eric

I understand where you are coming from, but I disagree with having to raise this to 3rd party tools.

both wheel/pip makes calls to distutils.util.get_platform(). Fixing it in one location would fix it across the board.

In addition, taking setuptools & pip out of picture (uninstalling), using just distutils.core.setup() and doing a bdist (built-in command available in distutils) is still generating a wrong tag in linux 32-bit arch.

pkg-1.0.0.linux-x86_64.tar.gz

within distutils.util.get_platform() the code under sunos makes attempts to identify the correct bitness:
            bitness = {2147483647:"32bit", 9223372036854775807:"64bit"}
            machine += ".%s" % bitness[sys.maxsize]

why would the linux logic not handle the same problem?
History
Date User Action Args
2017-08-16 20:38:06siming85setrecipients: + siming85, eric.araujo, dstufft
2017-08-16 20:38:06siming85setmessageid: <1502915886.08.0.1769752437.issue31211@psf.upfronthosting.co.za>
2017-08-16 20:38:06siming85linkissue31211 messages
2017-08-16 20:38:05siming85create