diff setup.py @ 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 c4c35f002aef
children
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",