Logo
Explore Help
Sign In
1berry/cpython
1
0
Fork 0
You've already forked cpython
Code Issues Packages Projects Releases Wiki Activity
cpython/Lib/ensurepip/__main__.py

6 lines
88 B
Python
Raw Permalink Normal View History

Close #19406: Initial implementation of ensurepip Patch by Donald Stufft and Nick Coghlan
2013-11-11 22:11:55 +10: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 13:07:45 +03:00
import sys
Close #19406: Initial implementation of ensurepip Patch by Donald Stufft and Nick Coghlan
2013-11-11 22:11:55 +10: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 13:07:45 +03:00
sys.exit(ensurepip._main())
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 5527ms Template: 83ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API