mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
python-3.6.zip added from Github
README.cosmo contains the necessary links.
This commit is contained in:
parent
75fc601ff5
commit
0c4c56ff39
4219 changed files with 1968626 additions and 0 deletions
17
third_party/python/Tools/scripts/pyvenv
vendored
Executable file
17
third_party/python/Tools/scripts/pyvenv
vendored
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env python3
|
||||
if __name__ == '__main__':
|
||||
import sys
|
||||
import pathlib
|
||||
|
||||
executable = pathlib.Path(sys.executable or 'python3').name
|
||||
print('WARNING: the pyenv script is deprecated in favour of '
|
||||
f'`{executable} -m venv`', file=sys.stderr)
|
||||
|
||||
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