1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00

Added argparse for Python 3.1.

This commit is contained in:
Jakub Roztocil 2012-03-15 00:22:29 +01:00
parent 51aa0409e6
commit 3dbb61a8ca

View File

@ -10,7 +10,8 @@ if sys.argv[-1] == 'test':
requirements = ['requests>=0.10.4', 'Pygments>=1.4']
if sys.version_info < (2, 7):
if sys.version_info[:2] in ((2, 6), (3, 1)):
# argparse has been added in Python 3.2 / 2.7
requirements.append('argparse>=1.2.1')