summaryrefslogtreecommitdiffstats
path: root/Lib/venv
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/venv')
-rw-r--r--Lib/venv/__init__.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
index 0371caf..3d9d3b7 100644
--- a/Lib/venv/__init__.py
+++ b/Lib/venv/__init__.py
@@ -1,7 +1,8 @@
"""
Virtual environment (venv) package for Python. Based on PEP 405.
-Copyright (C) 20011-2012 Vinay Sajip. All Rights Reserved.
+Copyright (C) 2011-2012 Vinay Sajip.
+Licensed to the PSF under a contributor agreement.
usage: python -m venv [-h] [--system-site-packages] [--symlinks] [--clear]
[--upgrade]
@@ -36,7 +37,6 @@ try:
import threading
except ImportError:
threading = None
-import zipfile
logger = logging.getLogger(__name__)
@@ -119,8 +119,8 @@ class EnvBuilder:
context.prompt = '(%s) ' % context.env_name
create_if_needed(env_dir)
env = os.environ
- if sys.platform == 'darwin' and '__PYTHONV_LAUNCHER__' in env:
- executable = os.environ['__PYTHONV_LAUNCHER__']
+ if sys.platform == 'darwin' and '__PYVENV_LAUNCHER__' in env:
+ executable = os.environ['__PYVENV_LAUNCHER__']
else:
executable = sys.executable
dirname, exename = os.path.split(os.path.abspath(executable))
@@ -346,8 +346,7 @@ def main(args=None):
elif not hasattr(sys, 'base_prefix'):
compatible = False
if not compatible:
- raise ValueError('This script is only for use with '
- 'Python 3.3 (pythonv variant)')
+ raise ValueError('This script is only for use with Python 3.3')
else:
import argparse