You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
628 B
15 lines
628 B
7 years ago
|
diff --git a/virtualenv.py b/virtualenv.py
|
||
|
index 2ad2695..a0ddfaf 100755
|
||
|
--- a/virtualenv.py
|
||
|
+++ b/virtualenv.py
|
||
|
@@ -400,6 +400,9 @@ def _find_file(filename, dirs):
|
||
|
def file_search_dirs():
|
||
|
here = os.path.dirname(os.path.abspath(__file__))
|
||
|
dirs = [here, join(here, 'virtualenv_support')]
|
||
|
+ if sys.version_info >= (2, 7):
|
||
|
+ # we don't insert on 2.6 because the wheels there are not compatible
|
||
|
+ dirs.insert(1, '/usr/share/python-wheels')
|
||
|
if os.path.splitext(os.path.dirname(__file__))[0] != 'virtualenv':
|
||
|
# Probably some boot script; just in case virtualenv is installed...
|
||
|
try:
|