summaryrefslogtreecommitdiff
path: root/setuptools/_distutils/command/install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-07-18 15:13:50 -0400
committerJason R. Coombs <jaraco@jaraco.com>2021-07-18 15:13:50 -0400
commit01f2abe71dc72fdf5b345f4ac3086a94b23efd15 (patch)
tree83bee7a6d933efe516f549423bff38f0d303a760 /setuptools/_distutils/command/install.py
parent5c24e780b83e4557ca6e9e48b468e6f4a82695c9 (diff)
parentaa5ef507f3bf78092abfff7c6a2cf55a9b2fb2dc (diff)
downloadpython-setuptools-git-01f2abe71dc72fdf5b345f4ac3086a94b23efd15.tar.gz
Merge branch 'main' into change-docs-theme
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