This website requires JavaScript.
Explore
Help
Sign In
traverseda
/
cpython
Watch
1
Star
0
Fork
You've already forked cpython
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
df59293bf0
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
(
)
)