Blob Blame Raw
From f00daaef3e49bfcdc4a00603d0ed0ca2a21be277 Mon Sep 17 00:00:00 2001
From: Scott K Logan <logans@cottsay.net>
Date: Wed, 20 Feb 2019 11:15:51 -0800
Subject: [PATCH] Fix argparse requirement for Python 2.7 (#85)

argparse is part of the standard library since Python 2.7
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 980cf66..b47ab9b 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@
 from vcstool import __version__
 
 install_requires = ['PyYAML', 'setuptools']
-if sys.version_info[0] == 2:
+if sys.version_info[0] == 2 and sys.version_info[1] < 7:
     install_requires.append('argparse')
 
 setup(