Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.buildout
Commits
44a4557a
Commit
44a4557a
authored
Oct 31, 2014
by
Reinout van Rees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Even clearer debug logging about the requirement and its constrained version
parent
9d1e0b16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+4
-2
No files found.
src/zc/buildout/easy_install.py
View file @
44a4557a
...
@@ -642,11 +642,13 @@ class Installer:
...
@@ -642,11 +642,13 @@ class Installer:
env
=
pkg_resources
.
Environment
(
ws
.
entries
)
env
=
pkg_resources
.
Environment
(
ws
.
entries
)
while
requirements
:
while
requirements
:
# Process dependencies breadth-first.
# Process dependencies breadth-first.
req
=
self
.
_constrain
(
requirements
.
pop
(
0
))
current_requirement
=
requirements
.
pop
(
0
)
req
=
self
.
_constrain
(
current_requirement
)
if
req
in
processed
:
if
req
in
processed
:
# Ignore cyclic or redundant dependencies.
# Ignore cyclic or redundant dependencies.
continue
continue
logger
.
debug
(
"Processing requirement %s"
,
req
)
logger
.
debug
(
"Processing requirement %s (constrained to %s)"
,
current_requirement
,
req
)
dist
=
best
.
get
(
req
.
key
)
dist
=
best
.
get
(
req
.
key
)
if
dist
is
None
:
if
dist
is
None
:
# Find the best distribution and add it to the map.
# Find the best distribution and add it to the map.
...
...
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