mirror of
https://github.com/python/cpython.git
synced 2025-10-02 21:25:24 +00:00
Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
This commit is contained in:
commit
a72bc8c3cf
3 changed files with 7 additions and 1 deletions
|
@ -592,6 +592,7 @@ Randall Hopper
|
|||
Nadav Horesh
|
||||
Alon Horev
|
||||
Jan Hosang
|
||||
Jonathan Hosmer
|
||||
Alan Hourihane
|
||||
Ken Howard
|
||||
Brad Howes
|
||||
|
|
|
@ -977,6 +977,9 @@ IDLE
|
|||
Build
|
||||
-----
|
||||
|
||||
- Issue #16537: Check whether self.extensions is empty in setup.py. Patch by
|
||||
Jonathan Hosmer.
|
||||
|
||||
- Issue #22359: Remove incorrect uses of recursive make. Patch by Jonas
|
||||
Wagner.
|
||||
|
||||
|
|
2
setup.py
2
setup.py
|
@ -263,6 +263,8 @@ class PyBuildExt(build_ext):
|
|||
for ext in self.extensions:
|
||||
self.check_extension_import(ext)
|
||||
|
||||
longest = 0
|
||||
if self.extensions:
|
||||
longest = max([len(e.name) for e in self.extensions])
|
||||
if self.failed or self.failed_on_import:
|
||||
all_failed = self.failed + self.failed_on_import
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue