diff options
author | Catherine Devlin <catherine.devlin@gmail.com> | 2013-02-19 05:46:34 -0500 |
---|---|---|
committer | Catherine Devlin <catherine.devlin@gmail.com> | 2013-02-19 05:46:34 -0500 |
commit | 7e054b303cca1ea38e0f725a10d237252c12418e (patch) | |
tree | f24102949d0f3c193a7ac4f95a604544d5a0011c | |
parent | 11abc9b946bf0c927437b7a5974d9dcf20b7dfdc (diff) | |
parent | 724076f50971e60eda0af034febd986cbe6e60c4 (diff) | |
download | cmd2-hg-7e054b303cca1ea38e0f725a10d237252c12418e.tar.gz |
account for pyparsing 2.0.0's support of Python 3 onlyy
-rwxr-xr-x | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -7,7 +7,11 @@ except ImportError: 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", |