summaryrefslogtreecommitdiffstats
path: root/Tools
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
parent61f82e0e337f971da57f8f513abfe693edf95aa5 (diff)
downloadcpython-a8c342465b977115b88a4f130833a2fd4c4e7356.zip
cpython-a8c342465b977115b88a4f130833a2fd4c4e7356.tar.gz
cpython-a8c342465b977115b88a4f130833a2fd4c4e7356.tar.bz2
bpo-25427: Remove pyvenv (GH-5962)
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/tools/tools_files.wxs3
-rwxr-xr-xTools/scripts/pyvenv17
2 files changed, 0 insertions, 20 deletions
diff --git a/Tools/msi/tools/tools_files.wxs b/Tools/msi/tools/tools_files.wxs
index 9c76b1b..3de6c92 100644
--- a/Tools/msi/tools/tools_files.wxs
+++ b/Tools/msi/tools/tools_files.wxs
@@ -8,9 +8,6 @@
<Component Id="Tools_scripts_pydoc3.py" Directory="Tools_scripts" Guid="*">
<File Id="Tools_scripts_pydoc3.py" Name="pydoc3.py" Source="!(bindpath.src)Tools\scripts\pydoc3" />
</Component>
- <Component Id="Tools_scripts_pyvenv.py" Directory="Tools_scripts" Guid="*">
- <File Id="Tools_scripts_pyvenv.py" Name="pyvenv.py" Source="!(bindpath.src)Tools\scripts\pyvenv" />
- </Component>
</ComponentGroup>
</Fragment>
<Fragment>
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)