File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,20 @@ def has_environment_marker_support():
36
36
37
37
def main ():
38
38
version = sys .version_info [:2 ]
39
- install_requires = ['virtualenv>=1.11.2' , 'py>=1.4.17' , 'pluggy>=0.3.0,<1.0' ]
39
+ virtualenv_open = ['virtualenv>=1.11.2' ]
40
+ virtualenv_capped = ['virtualenv>=1.11.2,<14' ]
41
+ install_requires = ['py>=1.4.17' , 'pluggy>=0.3.0,<1.0' ]
40
42
extras_require = {}
41
43
if has_environment_marker_support ():
42
44
extras_require [':python_version=="2.6"' ] = ['argparse' ]
45
+ extras_require [':python_version=="3.2"' ] = virtualenv_capped
46
+ extras_require [':python_version!="3.2"' ] = virtualenv_open
43
47
else :
44
48
if version < (2 , 7 ):
45
49
install_requires += ['argparse' ]
50
+ install_requires += (
51
+ virtualenv_capped if (3 , 2 ) < version < (3 , 3 ) else virtualenv_open
52
+ )
46
53
setuptools .setup (
47
54
name = 'tox' ,
48
55
description = 'virtualenv-based automation of test activities' ,
You can’t perform that action at this time.
0 commit comments