summaryrefslogtreecommitdiff
path: root/setuptools/_distutils/command
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-04-10 12:43:56 -0400
committerJason R. Coombs <jaraco@jaraco.com>2022-04-10 12:43:56 -0400
commitf4d31740584b1c9f45ad00cf62ff58c3418173a7 (patch)
tree4cc403f6361da657f00b2de6daabbedfb42584d3 /setuptools/_distutils/command
parente5552d3c42eddc463788861ae4c8847183eeec1c (diff)
parent5229dad46bf61e5c15695c76b17860c1466eb5c5 (diff)
downloadpython-setuptools-git-f4d31740584b1c9f45ad00cf62ff58c3418173a7.tar.gz
Merge https://github.com/pypa/distutils into feature/distutils-5229dad46b
Diffstat (limited to 'setuptools/_distutils/command')
-rw-r--r--setuptools/_distutils/command/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/_distutils/command/build.py b/setuptools/_distutils/command/build.py
index 4355a632..9606b81a 100644
--- a/setuptools/_distutils/command/build.py
+++ b/setuptools/_distutils/command/build.py
@@ -81,7 +81,8 @@ class build(Command):
"--plat-name only supported on Windows (try "
"using './configure --help' on your platform)")
- plat_specifier = ".%s-%d.%d" % (self.plat_name, *sys.version_info[:2])
+ plat_specifier = ".%s-%s" % (self.plat_name,
+ sys.implementation.cache_tag)
# Make it so Python 2.x and Python 2.x with --with-pydebug don't
# share the same build directories. Doing so confuses the build