mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
11
Tools/scripts/pyvenv
Executable file
11
Tools/scripts/pyvenv
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env python3
|
||||
if __name__ == '__main__':
|
||||
import sys
|
||||
rc = 1
|
||||
try:
|
||||
import venv
|
||||
venv.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