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
1b4b7af1
Commit
1b4b7af1
authored
Sep 27, 2014
by
Berker Peksag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #16537: Check whether self.extensions is empty in setup.py.
Patch by Jonathan Hosmer.
parent
e430073f
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 @
1b4b7af1
...
@@ -582,6 +582,7 @@ Randall Hopper
...
@@ -582,6 +582,7 @@ Randall Hopper
Nadav Horesh
Nadav Horesh
Alon Horev
Alon Horev
Jan Hosang
Jan Hosang
Jonathan Hosmer
Alan Hourihane
Alan Hourihane
Ken Howard
Ken Howard
Brad Howes
Brad Howes
...
...
Misc/NEWS
View file @
1b4b7af1
...
@@ -205,6 +205,9 @@ Tests
...
@@ -205,6 +205,9 @@ Tests
Build
Build
-----
-----
- Issue #16537: Check whether self.extensions is empty in setup.py. Patch by
Jonathan Hosmer.
- The documentation Makefile no longer automatically downloads Sphinx. Users are
- The documentation Makefile no longer automatically downloads Sphinx. Users are
now required to have Sphinx already installed to build the documentation.
now required to have Sphinx already installed to build the documentation.
...
...
setup.py
View file @
1b4b7af1
...
@@ -250,7 +250,9 @@ class PyBuildExt(build_ext):
...
@@ -250,7 +250,9 @@ class PyBuildExt(build_ext):
build_ext
.
build_extensions
(
self
)
build_ext
.
build_extensions
(
self
)
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
:
if
self
.
failed
:
longest
=
max
(
longest
,
max
([
len
(
name
)
for
name
in
self
.
failed
]))
longest
=
max
(
longest
,
max
([
len
(
name
)
for
name
in
self
.
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