Mercurial > python-cmd2
changeset 438:a5f3d5a89d6c tip
pyparsing 2.0.0 only if on Python3
author | Catherine Devlin <catherine.devlin@gmail.com> |
---|---|
date | Tue, 19 Feb 2013 04:33:12 -0500 |
parents | 9e0fd9da25c6 |
children | |
files | setup.py |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Thu Aug 25 16:27:53 2011 -0400 +++ b/setup.py Tue Feb 19 04:33:12 2013 -0500 @@ -7,7 +7,11 @@ return ['sqlpython'] import sys -install_requires = ['pyparsing>=1.5.6'] +if sys.version_info.major < 3: + install_requires = ['pyparsing == 1.5.7'] +else: + install_requires = ['pyparsing >= 2.0.0'] + setup( name="cmd2", version="0.6.4",