summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorBrett Cannon <brettcannon@users.noreply.github.com>2018-04-20 21:15:40 (GMT)
committerGitHub <noreply@github.com>2018-04-20 21:15:40 (GMT)
commita8c342465b977115b88a4f130833a2fd4c4e7356 (patch)
tree28c53bd4d0628931a6ac5cd705f24ae85e7305b3 /Tools/scripts
parent61f82e0e337f971da57f8f513abfe693edf95aa5 (diff)
downloadcpython-a8c342465b977115b88a4f130833a2fd4c4e7356.zip
cpython-a8c342465b977115b88a4f130833a2fd4c4e7356.tar.gz
cpython-a8c342465b977115b88a4f130833a2fd4c4e7356.tar.bz2
bpo-25427: Remove pyvenv (GH-5962)
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/pyvenv17
1 files changed, 0 insertions, 17 deletions
diff --git a/Tools/scripts/pyvenv b/Tools/scripts/pyvenv
deleted file mode 100755
index 1fb42c6..0000000
--- a/Tools/scripts/pyvenv
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/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)