Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a72bc8c3
Commit
a72bc8c3
authored
Sep 27, 2014
by
Berker Peksag
Browse files
Options
Browse Files
Download
Plain Diff
Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
parents
10177be4
21c8d5c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
setup.py
setup.py
+3
-1
No files found.
Misc/ACKS
View file @
a72bc8c3
...
...
@@ -592,6 +592,7 @@ Randall Hopper
Nadav Horesh
Alon Horev
Jan Hosang
Jonathan Hosmer
Alan Hourihane
Ken Howard
Brad Howes
...
...
Misc/NEWS
View file @
a72bc8c3
...
...
@@ -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.
...
...
setup.py
View file @
a72bc8c3
...
...
@@ -263,7 +263,9 @@ class PyBuildExt(build_ext):
for
ext
in
self
.
extensions
:
self
.
check_extension_import
(
ext
)
longest
=
max
([
len
(
e
.
name
)
for
e
in
self
.
extensions
])
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
longest
=
max
(
longest
,
max
([
len
(
name
)
for
name
in
all_failed
]))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment