Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
956dce0b
Commit
956dce0b
authored
Dec 23, 2014
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extract variables for clarity and simpler indentation.
parent
3b434b5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
setuptools/command/build_ext.py
setuptools/command/build_ext.py
+4
-4
No files found.
setuptools/command/build_ext.py
View file @
956dce0b
...
...
@@ -118,10 +118,10 @@ class build_ext(_build_ext):
# XXX what to do with conflicts?
self
.
ext_map
[
fullname
.
split
(
'.'
)[
-
1
]]
=
ext
ltd
=
ext
.
_links_to_dynamic
=
\
self
.
shlibs
and
self
.
links_to_dynamic
(
ext
)
or
False
ext
.
_
needs_stub
=
ltd
and
use_stubs
and
not
isinstance
(
ext
,
Library
)
ltd
=
self
.
shlibs
and
self
.
links_to_dynamic
(
ext
)
or
False
ns
=
ltd
and
use_stubs
and
not
isinstance
(
ext
,
Library
)
ext
.
_
links_to_dynamic
=
ltd
ext
.
_needs_stub
=
ns
filename
=
ext
.
_file_name
=
self
.
get_ext_filename
(
fullname
)
libdir
=
os
.
path
.
dirname
(
os
.
path
.
join
(
self
.
build_lib
,
filename
))
if
ltd
and
libdir
not
in
ext
.
library_dirs
:
...
...
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