Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
ae3e5598
Commit
ae3e5598
authored
Apr 14, 2018
by
Matthew Brett
Browse files
Import get_supported from pip _internal code
Yes, it's ugly, but it'll do for now.
parent
6fe7f40f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
supported_wheels.py
supported_wheels.py
+4
-1
No files found.
supported_wheels.py
View file @
ae3e5598
...
...
@@ -6,7 +6,10 @@ from __future__ import print_function
import
sys
from
wheel.install
import
WheelFile
from
wheel.pep425tags
import
get_supported
try
:
from
pip.pep425tags
import
get_supported
except
ImportError
:
# pip 10
from
pip._internal.pep425tags
import
get_supported
def
main
():
...
...
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