- No more Python 2.6 or Jython support - Drop runtime dependency on pythonX-devel See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/F3EGYJ362AUZMGR3P2OP3ARK4YNLEASO/ Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1699031
17 lines
590 B
Diff
17 lines
590 B
Diff
diff --git a/virtualenv.py b/virtualenv.py
|
|
index 3ccbed6..504efc8 100755
|
|
--- a/virtualenv.py
|
|
+++ b/virtualenv.py
|
|
@@ -473,7 +473,10 @@ def virtualenv_support_dirs():
|
|
|
|
# normal filesystem installation
|
|
if os.path.isdir(join(HERE, "virtualenv_support")):
|
|
- yield [join(HERE, "virtualenv_support")]
|
|
+ if os.path.isdir("/usr/share/python-wheels"):
|
|
+ yield ["/usr/share/python-wheels", join(HERE, "virtualenv_support")]
|
|
+ else:
|
|
+ yield [join(HERE, "virtualenv_support")]
|
|
elif IS_ZIPAPP:
|
|
tmpdir = tempfile.mkdtemp()
|
|
try:
|