aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Felt <aixtools@users.noreply.github.com>2019-12-15 15:17:53 +0100
committerNick Coghlan <ncoghlan@gmail.com>2019-12-16 00:17:53 +1000
commit2bf131d79252ce71e82c64ffbfdf1126d9602e90 (patch)
tree669389089161254decab4931b7021bf5c1fb9604
parentb09909462acad0d0175cf2fcef76cf1e1c7adc76 (diff)
downloadexternal_python_setuptools-2bf131d79252ce71e82c64ffbfdf1126d9602e90.tar.gz
external_python_setuptools-2bf131d79252ce71e82c64ffbfdf1126d9602e90.tar.bz2
external_python_setuptools-2bf131d79252ce71e82c64ffbfdf1126d9602e90.zip
bpo-38021: Modify AIX platform_tag so it covers PEP 425 needs (GH-17303)
Provides a richer platform tag for AIX that we expect to be sufficient for PEP 425 binary distribution identification. Any backports to earlier Python versions will be handled via setuptools. Patch by Michael Felt.
-rw-r--r--util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.py b/util.py
index 17a94bc4..4b002ece 100644
--- a/util.py
+++ b/util.py
@@ -79,7 +79,8 @@ def get_host_platform():
machine += ".%s" % bitness[sys.maxsize]
# fall through to standard osname-release-machine representation
elif osname[:3] == "aix":
- return "%s-%s.%s" % (osname, version, release)
+ from _aix_support import aix_platform
+ return aix_platform()
elif osname[:6] == "cygwin":
osname = "cygwin"
rel_re = re.compile (r'[\d.]+', re.ASCII)