This website requires JavaScript.
Explore
Help
Sign In
Mirror
/
cpython
mirror of
https://github.com/python/cpython
Watch
4
Star
1
Fork
You've already forked cpython
0
Code
Issues
Releases
Wiki
Activity
c02e860ee7
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 08:11:55 -04: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 07:07:45 -03:00
import
sys
Close #19406: Initial implementation of ensurepip Patch by Donald Stufft and Nick Coghlan
2013-11-11 08:11:55 -04: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 07:07:45 -03:00
sys
.
exit
(
ensurepip
.
_main
(
)
)