Skip to content

Commit 5e27e07

Browse files
committed
Remove argparse from install_requires for Python 2.7
argparse is part of Python 2.7: https://docs.python.org/2.7/library/argparse.html
1 parent 40603ae commit 5e27e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def run_tests(self):
3131
'pytz',
3232
'pyOpenSSL',
3333
'python-dateutil',
34-
'argparse',
3534
'six'
3635
]
3736

@@ -49,6 +48,7 @@ def run_tests(self):
4948

5049
# only for Python 2.6
5150
if sys.version_info < (2, 7):
51+
install_requires.append('argparse')
5252
install_requires.append('importlib')
5353

5454
setup(

0 commit comments

Comments
 (0)