diff options
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/msi.py | 1 | ||||
-rwxr-xr-x | Tools/scripts/pyvenv | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index c29e6ca..8e2f5a3 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -1122,6 +1122,7 @@ def add_files(db): lib.add_file("2to3.py", src="2to3") lib.add_file("pydoc3.py", src="pydoc3") lib.add_file("pysetup3.py", src="pysetup3") + lib.add_file("pyvenv.py", src="pyvenv") if have_tcl: lib.start_component("pydocgui.pyw", tcltk, keyfile="pydocgui.pyw") lib.add_file("pydocgui.pyw") diff --git a/Tools/scripts/pyvenv b/Tools/scripts/pyvenv new file mode 100755 index 0000000..978d691 --- /dev/null +++ b/Tools/scripts/pyvenv @@ -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) |