Skip to content

Commit 2af7eec

Browse files
committed
Restore support for Python 2.6
1 parent faf77a0 commit 2af7eec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

virtualenv.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,10 @@ def create_environment(home_dir, site_packages=False, clear=False,
937937
to_install.append('pip')
938938

939939
if not no_wheel:
940-
to_install.append('wheel')
940+
if sys.version_info[:2] == (2, 6):
941+
to_install.append("wheel<0.30")
942+
else:
943+
to_install.append('wheel')
941944

942945
if to_install:
943946
install_wheel(
Binary file not shown.

0 commit comments

Comments
 (0)