File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ def finalize_options(self):
102102 # particular module distribution -- if user didn't supply it, pick
103103 # one of 'build_purelib' or 'build_platlib'.
104104 if self .build_lib is None :
105- if self .distribution .ext_modules :
105+ if self .distribution .has_ext_modules () :
106106 self .build_lib = self .build_platlib
107107 else :
108108 self .build_lib = self .build_purelib
Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ def finalize_options(self):
348348 # module distribution is pure or not. Of course, if the user
349349 # already specified install_lib, use their selection.
350350 if self .install_lib is None :
351- if self .distribution .ext_modules : # has extensions: non-pure
351+ if self .distribution .has_ext_modules () : # has extensions: non-pure
352352 self .install_lib = self .install_platlib
353353 else :
354354 self .install_lib = self .install_purelib
You can’t perform that action at this time.
0 commit comments