summaryrefslogtreecommitdiff
path: root/setuptools/_distutils/command/install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-07-04 22:35:04 -0400
committerJason R. Coombs <jaraco@jaraco.com>2021-07-04 22:35:04 -0400
commit3a96d101b6ab32af7e256d854fc70cd31e551cfd (patch)
treed28b92d0a15b7338f0c39d58eb63765ee38a0673 /setuptools/_distutils/command/install.py
parent0aa3576ae23fd88d450e41931a6703e8eb96e9c4 (diff)
parente2627b7327f6dc09946eeac897113178f88ece6c (diff)
downloadpython-setuptools-git-3a96d101b6ab32af7e256d854fc70cd31e551cfd.tar.gz
Merge https://github.com/pypa/distutils into feature/distutils-sync
Diffstat (limited to 'setuptools/_distutils/command/install.py')
-rw-r--r--setuptools/_distutils/command/install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/_distutils/command/install.py b/setuptools/_distutils/command/install.py
index 13feeb89..400fb45d 100644
--- a/setuptools/_distutils/command/install.py
+++ b/setuptools/_distutils/command/install.py
@@ -348,7 +348,7 @@ class install(Command):
# module distribution is pure or not. Of course, if the user
# already specified install_lib, use their selection.
if self.install_lib is None:
- if self.distribution.ext_modules: # has extensions: non-pure
+ if self.distribution.has_ext_modules(): # has extensions: non-pure
self.install_lib = self.install_platlib
else:
self.install_lib = self.install_purelib