mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Implemented PEP 405 (Python virtual environments).
This commit is contained in:
parent
f2bdc3690a
commit
7ded1f0f69
41 changed files with 1454 additions and 66 deletions
10
Lib/venv/__main__.py
Normal file
10
Lib/venv/__main__.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
import sys
|
||||
from . import main
|
||||
|
||||
rc = 1
|
||||
try:
|
||||
main()
|
||||
rc = 0
|
||||
except Exception as e:
|
||||
print('Error: %s' % e, file=sys.stderr)
|
||||
sys.exit(rc)
|
Loading…
Add table
Add a link
Reference in a new issue