diff options
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/pyvenv | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/scripts/pyvenv b/Tools/scripts/pyvenv index 978d691..1043efc 100755 --- a/Tools/scripts/pyvenv +++ b/Tools/scripts/pyvenv @@ -1,6 +1,12 @@ #!/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 ' + '`{} -m venv`'.format(exeutable, file=sys.stderr)) + rc = 1 try: import venv |