summaryrefslogtreecommitdiff
path: root/setuptools/_distutils/command/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/_distutils/command/build.py')
-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