##// END OF EJS Templates
tests: virtualenv is only used on py2, rename and conditionalize...
Kyle Lippincott -
r45775:357d8415 default
parent child Browse files
Show More
@@ -886,8 +886,11 def has_ensurepip():
886 886 return False
887 887
888 888
889 @check("virtualenv", "Python virtualenv support")
890 def has_virtualenv():
889 @check("py2virtualenv", "Python2 virtualenv support")
890 def has_py2virtualenv():
891 if sys.version_info[0] != 2:
892 return False
893
891 894 try:
892 895 import virtualenv
893 896
@@ -214,7 +214,7 since it's bin on most platforms but Scr
214 214 no problems detected
215 215 #endif
216 216
217 #if no-py3 virtualenv
217 #if py2virtualenv
218 218
219 219 Note: --no-site-packages is deprecated, but some places have an
220 220 ancient virtualenv from their linux distro or similar and it's not yet
General Comments 0
You need to be logged in to leave comments. Login now