diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-06-24 23:47:46 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-06-24 23:47:46 (GMT) |
commit | 2895244653be4d01ffb510cfa2c12754af6423a9 (patch) | |
tree | 2979d9e84276e924afeeb5303d9a89f0eb0782d1 /Lib/venv | |
parent | e51a36922ffcce8c5e45cc88dc95a9d33ead0f11 (diff) | |
download | cpython-2895244653be4d01ffb510cfa2c12754af6423a9.zip cpython-2895244653be4d01ffb510cfa2c12754af6423a9.tar.gz cpython-2895244653be4d01ffb510cfa2c12754af6423a9.tar.bz2 |
Closes #15173: Tidied up copyright statements and removed pythonv references.
Diffstat (limited to 'Lib/venv')
-rw-r--r-- | Lib/venv/__init__.py | 11 |
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 |