Update pyparsing dependency to 2.0.1

Go ahead and require the version of pyparsing that supports
python 2 and 3.

Change-Id: Icdeb7c4a4aeaab9fcc4a44b091a068f91553adf6
This commit is contained in:
Doug Hellmann 2013-09-09 09:38:17 -04:00
parent ff3ac6435b
commit 6a35ba1b0d
3 changed files with 8 additions and 13 deletions

View File

@ -41,7 +41,7 @@ setup(
scripts=[],
provides=[],
install_requires=['distribute', 'cliff'],
install_requires=['cliff'],
namespace_packages=[],
packages=find_packages(),

View File

@ -2,6 +2,11 @@
Release History
=================
dev
- Update the pyparsing dependency to a version that supports both
Python 2 and Python 3.
1.4.4
- Provide better error handling for unknown commands run from the

View File

@ -17,20 +17,10 @@ except IOError:
install_requires = [
'PrettyTable>=0.6,<0.8',
# Restrict cliff from bringing in cmd2 0.6.6 until the problem
# with the Python 3-only code is resolved.
'cmd2>=0.6.4,<0.6.6',
'pyparsing>=2.0.1',
'cmd2>=0.6.7',
]
# We need a different version of PyParsing, depending on which version
# of Python we're using. cmd2 should have this set properly, but until
# there is a release declare the dependency ourselves.
# http://trac-hg.assembla.com/python-cmd2/rev/a5f3d5a89d6c
if sys.version_info[0] < 3:
install_requires.append('pyparsing==1.5.7')
else:
install_requires.append('pyparsing>=2.0.0')
try:
import argparse # noqa
except ImportError: