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
Boxiang Sun
slapos.buildout
Commits
ff2ee218
Commit
ff2ee218
authored
May 05, 2021
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do never install from wheels
parent
25ac00a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+3
-1
No files found.
src/zc/buildout/easy_install.py
View file @
ff2ee218
...
@@ -39,6 +39,8 @@ import tempfile
...
@@ -39,6 +39,8 @@ import tempfile
import
zc.buildout
import
zc.buildout
import
warnings
import
warnings
WHL_DIST
=
pkg_resources
.
EGG_DIST
+
1
warnings
.
filterwarnings
(
warnings
.
filterwarnings
(
'ignore'
,
'.+is being parsed as a legacy, non PEP 440, version'
)
'ignore'
,
'.+is being parsed as a legacy, non PEP 440, version'
)
...
@@ -545,7 +547,7 @@ class Installer:
...
@@ -545,7 +547,7 @@ class Installer:
# Filter the available dists for the requirement and source flag
# Filter the available dists for the requirement and source flag
dists
=
[
dist
for
dist
in
index
[
requirement
.
project_name
]
dists
=
[
dist
for
dist
in
index
[
requirement
.
project_name
]
if
((
dist
in
requirement
)
if
((
dist
in
requirement
)
and
and
dist
.
precedence
!=
WHL_DIST
and
((
not
source
)
or
((
not
source
)
or
(
dist
.
precedence
==
pkg_resources
.
SOURCE_DIST
)
(
dist
.
precedence
==
pkg_resources
.
SOURCE_DIST
)
)
)
...
...
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