diff options
author | Donald Stufft <donald@stufft.io> | 2018-03-17 10:34:56 -0400 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2018-03-17 10:34:56 -0400 |
commit | 7480ad8e1ccd76eed827ec5e0258146a0cd8ce08 (patch) | |
tree | eeab48244f6a10d014e1da4d4e620e92727a1832 | |
parent | 2af7eec7c3d2c315fe179a434c030ca44c2cc6d8 (diff) | |
download | virtualenv-7480ad8e1ccd76eed827ec5e0258146a0cd8ce08.tar.gz |
Also need to handle setuptools for 2.6 support
-rwxr-xr-x | virtualenv.py | 7 | ||||
-rw-r--r-- | virtualenv_support/setuptools-36.8.0-py2.py3-none-any.whl | bin | 0 -> 482722 bytes |
2 files changed, 5 insertions, 2 deletions
diff --git a/virtualenv.py b/virtualenv.py index 6e06eb4..b46900c 100755 --- a/virtualenv.py +++ b/virtualenv.py @@ -931,7 +931,10 @@ def create_environment(home_dir, site_packages=False, clear=False, to_install = [] if not no_setuptools: - to_install.append('setuptools') + if sys.version_info[:2] == (2, 6): + to_install.append('setuptools<37') + else: + to_install.append('setuptools') if not no_pip: to_install.append('pip') @@ -1292,7 +1295,7 @@ def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, sy copyfile(py_executable, python_executable, symlink) if is_win: - for name in ['libexpat.dll', + for name in ['libexpat.dll', 'libeay32.dll', 'ssleay32.dll', 'sqlite3.dll', 'tcl85.dll', 'tk85.dll']: src = join(prefix, name) diff --git a/virtualenv_support/setuptools-36.8.0-py2.py3-none-any.whl b/virtualenv_support/setuptools-36.8.0-py2.py3-none-any.whl Binary files differnew file mode 100644 index 0000000..c32c1f7 --- /dev/null +++ b/virtualenv_support/setuptools-36.8.0-py2.py3-none-any.whl |