Mercurial > python-cmd2
comparison 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 |
comparison
equal
deleted
inserted
replaced
437:9e0fd9da25c6 | 438:a5f3d5a89d6c |
---|---|
5 from distutils.core import setup | 5 from distutils.core import setup |
6 def find_packages(): | 6 def find_packages(): |
7 return ['sqlpython'] | 7 return ['sqlpython'] |
8 import sys | 8 import sys |
9 | 9 |
10 install_requires = ['pyparsing>=1.5.6'] | 10 if sys.version_info.major < 3: |
11 install_requires = ['pyparsing == 1.5.7'] | |
12 else: | |
13 install_requires = ['pyparsing >= 2.0.0'] | |
14 | |
11 setup( | 15 setup( |
12 name="cmd2", | 16 name="cmd2", |
13 version="0.6.4", | 17 version="0.6.4", |
14 py_modules=["cmd2"], | 18 py_modules=["cmd2"], |
15 use_2to3=True, | 19 use_2to3=True, |