Mercurial > python-cmd2
changeset 393:49bd3dc5c205
FIX: Python2.[56] fails upon 'as'-keyword in pyparsing_py3.py
author | Jens Braeuer <jens.braeuer@gmx.net> |
---|---|
date | Tue, 18 May 2010 20:59:14 +0200 |
parents | 1f1fb9c5feea |
children | fbd780b5994b |
files | setup.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Tue May 18 20:56:03 2010 +0200 +++ b/setup.py Tue May 18 20:59:14 2010 +0200 @@ -10,13 +10,14 @@ python3 = sys.version_info[0] > 2 if python3: install_requires = [] # will rely on local pyparsing_py3 copy + extra_modules = "pyparsing_py3" else: install_requires = ['pyparsing>=1.5.1'] - + extra_modules = [] setup( name="cmd2", version="0.6.1", - py_modules=["cmd2","pyparsing_py3"], + py_modules=["cmd2"]+extra_modules, use_2to3=True, # metadata for upload to PyPI