summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-11-10 20:10:57 +0200
committerGitHub <noreply@github.com>2020-11-10 20:10:57 +0200
commit36181419fd32becd79819e132f04342c0d6a31e6 (patch)
tree216f1433cb6a2984c0fbc21eea659dfe9f6069d9 /numpy
parenta20eca25e9b492efedafea4b7c5d84692d869f7e (diff)
parent972eb4dfd31571bf4b6d3d0f4575036b360d9975 (diff)
downloadnumpy-36181419fd32becd79819e132f04342c0d6a31e6.tar.gz
Merge pull request #17748 from xoviat/patch-1
BLD: compare platform.architecture() correctly
Diffstat (limited to 'numpy')
-rw-r--r--numpy/distutils/system_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
index c3bd6347c..cf4b1d945 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
@@ -290,7 +290,7 @@ if sys.platform == 'win32':
vcpkg = shutil.which('vcpkg')
if vcpkg:
vcpkg_dir = os.path.dirname(vcpkg)
- if platform.architecture() == '32bit':
+ if platform.architecture()[0] == '32bit':
specifier = 'x86'
else:
specifier = 'x64'