diff options
-rw-r--r-- | docs/changes.rst | 13 | ||||
-rwxr-xr-x | virtualenv.py | 7 | ||||
-rw-r--r-- | virtualenv_support/pip-8.1.1-py2.py3-none-any.whl (renamed from virtualenv_support/pip-8.1.0-py2.py3-none-any.whl) | bin | 1197452 -> 1197664 bytes | |||
-rw-r--r-- | virtualenv_support/setuptools-20.3-py2.py3-none-any.whl (renamed from virtualenv_support/setuptools-20.2.2-py2.py3-none-any.whl) | bin | 508508 -> 508316 bytes |
4 files changed, 18 insertions, 2 deletions
diff --git a/docs/changes.rst b/docs/changes.rst index e8d7bb4..2df19f6 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -1,10 +1,21 @@ Release History =============== +15.0.1 (2016-03-17) +------------------- + +* Print error message when DEST_DIR exists and is a file + +* Upgrade setuptools to 20.3 + +* Upgrade pip to 8.1.1. + + 15.0.0 (2016-03-05) ------------------- -* Remove the `virtualenv-N.N` script from the package; this can no longer be correctly created from a wheel installation. +* Remove the `virtualenv-N.N` script from the package; this can no longer be + correctly created from a wheel installation. Resolves :issue:`851`, :issue:`692` * Remove accidental runtime dependency on pip by extracting certificate in the diff --git a/virtualenv.py b/virtualenv.py index 68a5d87..13146f6 100755 --- a/virtualenv.py +++ b/virtualenv.py @@ -36,7 +36,7 @@ try: except ImportError: import configparser as ConfigParser -__version__ = "15.0.0" +__version__ = "15.0.1" virtualenv_version = __version__ # legacy if sys.version_info < (2, 6): @@ -677,6 +677,11 @@ def main(): home_dir = args[0] + if os.path.exists(home_dir) and os.path.isfile(home_dir): + logger.fatal('ERROR: File already exists and is not a directory.') + logger.fatal('Please provide a different path or delete the file.') + sys.exit(3) + if os.environ.get('WORKING_ENV'): logger.fatal('ERROR: you cannot run virtualenv while in a workingenv') logger.fatal('Please deactivate your workingenv, then re-run this script') diff --git a/virtualenv_support/pip-8.1.0-py2.py3-none-any.whl b/virtualenv_support/pip-8.1.1-py2.py3-none-any.whl Binary files differindex 9a2691b..8632eb7 100644 --- a/virtualenv_support/pip-8.1.0-py2.py3-none-any.whl +++ b/virtualenv_support/pip-8.1.1-py2.py3-none-any.whl diff --git a/virtualenv_support/setuptools-20.2.2-py2.py3-none-any.whl b/virtualenv_support/setuptools-20.3-py2.py3-none-any.whl Binary files differindex 89cf840..39e67c0 100644 --- a/virtualenv_support/setuptools-20.2.2-py2.py3-none-any.whl +++ b/virtualenv_support/setuptools-20.3-py2.py3-none-any.whl |