diff options
author | Catherine Devlin <catherine.devlin@gmail.com> | 2013-02-19 04:33:12 -0500 |
---|---|---|
committer | Catherine Devlin <catherine.devlin@gmail.com> | 2013-02-19 04:33:12 -0500 |
commit | 724076f50971e60eda0af034febd986cbe6e60c4 (patch) | |
tree | bc5a5d2a4a0266848b9bd631cd620c4c95d97236 /setup.py | |
parent | b476732bfa5d335f8c1cbfdaeeb4fcd34c629230 (diff) | |
download | cmd2-hg-724076f50971e60eda0af034febd986cbe6e60c4.tar.gz |
pyparsing 2.0.0 only if on Python3
Diffstat (limited to 'setup.py')
-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", |