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
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.buildout
Commits
16758148
Commit
16758148
authored
Mar 08, 2021
by
Godefroid Chapelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: pypa moved get-pip again
Solution: use new advised URLs
parent
6ea3970c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dev.py
dev.py
+3
-3
No files found.
dev.py
View file @
16758148
...
...
@@ -53,11 +53,11 @@ def install_pip():
try
:
get_pip
=
os
.
path
.
join
(
tmp
,
'get-pip.py'
)
if
sys
.
version_info
<
(
3
,
):
GET_PIP_URL
=
'https://bootstrap.pypa.io/2.7/get-pip.py'
GET_PIP_URL
=
'https://bootstrap.pypa.io/
pip/
2.7/get-pip.py'
elif
(
sys
.
version_info
.
major
,
sys
.
version_info
.
minor
)
==
(
3
,
5
):
GET_PIP_URL
=
'https://bootstrap.pypa.io/3.5/get-pip.py'
GET_PIP_URL
=
'https://bootstrap.pypa.io/
pip/
3.5/get-pip.py'
else
:
GET_PIP_URL
=
'https://bootstrap.pypa.io/get-pip.py'
GET_PIP_URL
=
'https://bootstrap.pypa.io/
pip/
get-pip.py'
with
open
(
get_pip
,
'wb'
)
as
f
:
f
.
write
(
urlopen
(
GET_PIP_URL
).
read
())
...
...
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