diff options
Diffstat (limited to 'virtualenv.py')
-rwxr-xr-x | virtualenv.py | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/virtualenv.py b/virtualenv.py index 90e9531..2648649 100755 --- a/virtualenv.py +++ b/virtualenv.py @@ -40,9 +40,9 @@ except ImportError: __version__ = "15.3.0.dev0" virtualenv_version = __version__ # legacy -if sys.version_info < (2, 6): +if sys.version_info < (2, 7): print('ERROR: %s' % sys.exc_info()[1]) - print('ERROR: this script requires Python 2.6 or greater.') + print('ERROR: this script requires Python 2.7 or greater.') sys.exit(101) try: @@ -931,19 +931,13 @@ def create_environment(home_dir, site_packages=False, clear=False, to_install = [] if not no_setuptools: - if sys.version_info[:2] == (2, 6): - to_install.append('setuptools<37') - else: - to_install.append('setuptools') + to_install.append('setuptools') if not no_pip: to_install.append('pip') if not no_wheel: - if sys.version_info[:2] == (2, 6): - to_install.append("wheel<0.30") - else: - to_install.append('wheel') + to_install.append('wheel') if to_install: install_wheel( |