This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
cpython
Watch
0
Star
0
Fork
0
You've already forked cpython
mirror of
https://github.com/python/cpython.git
synced
2024-11-22 13:28:21 +01:00
Code
Issues
Releases
Activity
2ccb50cf77
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 13:11:55 +01: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 12:07:45 +02:00
import
sys
Close #19406: Initial implementation of ensurepip Patch by Donald Stufft and Nick Coghlan
2013-11-11 13:11:55 +01: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 12:07:45 +02:00
sys
.
exit
(
ensurepip
.
_main
(
)
)
Copy Permalink