Skip to content

Commit

Permalink
Do not install argparse on Python > 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
rubik committed Dec 16, 2013
1 parent cfd1537 commit b9e4b1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
import mando
except ImportError as e:
version = e.version
deps = ['argparse']
else:
version = mando.__version__
deps = []


with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as fobj:
Expand All @@ -22,7 +24,7 @@
platforms='any',
long_description=readme,
packages=['mando', 'mando.tests'],
install_requires=['argparse'],
install_requires=deps,
test_suite='mando.tests',
classifiers=[
'Development Status :: 3 - Alpha',
Expand Down

0 comments on commit b9e4b1a

Please sign in to comment.