argparse is in standard library in Python 2.7 and >=3.2 | |
https://code.google.com/p/unittest-ext/issues/detail?id=88 | |
--- a/setup.py | |
+++ b/setup.py | |
@@ -57,7 +57,9 @@ | |
# Both install and setup requires - because we read VERSION from within the | |
# package, and the package also exports all the APIs. | |
# six for compat helpers | |
-REQUIRES = ['argparse', 'six'], | |
+REQUIRES = ['six'] | |
+if sys.version_info < (2, 7) or (3, 0) <= sys.version_info < (3, 2): | |
+ REQUIRES.append('argparse') | |
params = dict( | |
name=NAME, |