summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/build.py
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2019-08-26 21:06:41 +0300
committerHugo <hugovk@users.noreply.github.com>2019-08-26 21:06:41 +0300
commitbd59cd437be25443d918ddb558563a1581db8738 (patch)
treed04cc317695f3ce571dd64a38431cbfb9d7c8c80 /numpy/distutils/command/build.py
parent5c02fedbe1585a8e2ae530ec34d44dc80eadd4e5 (diff)
downloadnumpy-bd59cd437be25443d918ddb558563a1581db8738.tar.gz
Use *sys.version_info[:2]
Diffstat (limited to 'numpy/distutils/command/build.py')
-rw-r--r--numpy/distutils/command/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/command/build.py b/numpy/distutils/command/build.py
index e0d1c8413..b3e18b204 100644
--- a/numpy/distutils/command/build.py
+++ b/numpy/distutils/command/build.py
@@ -38,7 +38,7 @@ class build(old_build):
raise ValueError("--parallel/-j argument must be an integer")
build_scripts = self.build_scripts
old_build.finalize_options(self)
- plat_specifier = ".{}-{}.{}".format(get_platform(), *sys.version_info)
+ plat_specifier = ".{}-{}.{}".format(get_platform(), *sys.version_info[:2])
if build_scripts is None:
self.build_scripts = os.path.join(self.build_base,
'scripts' + plat_specifier)