This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
cpython
mirror of
https://github.com/python/cpython.git
Watch
1
Star
0
Fork
You've already forked cpython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
eae7dad402
cpython
/
Lib
/
ensurepip
/
__main__.py
6 lines
88 B
Python
Raw
Normal View
History
Unescape
Escape
Close #19406: Initial implementation of ensurepip Patch by Donald Stufft and Nick Coghlan
2013-11-11 12:11:55 +00:00
import
ensurepip
bpo-31351: Set return code in ensurepip when pip fails (GH-3626) Previously ensurepip would always report success, even if the pip installation failed.
2017-09-21 10:07:45 +00:00
import
sys
Close #19406: Initial implementation of ensurepip Patch by Donald Stufft and Nick Coghlan
2013-11-11 12:11:55 +00:00
if
__name__
==
"
__main__
"
:
bpo-31351: Set return code in ensurepip when pip fails (GH-3626) Previously ensurepip would always report success, even if the pip installation failed.
2017-09-21 10:07:45 +00:00
sys
.
exit
(
ensurepip
.
_main
(
)
)