diff options
author | Jens Braeuer <jens.braeuer@gmx.net> | 2010-05-18 20:59:14 +0200 |
---|---|---|
committer | Jens Braeuer <jens.braeuer@gmx.net> | 2010-05-18 20:59:14 +0200 |
commit | 7ed1e3bb5e54614c5c11db3a6032f50eec7c90f5 (patch) | |
tree | 984d1f65400b2f2abcc94ceca507897afaec342c | |
parent | b068b93bb952beea66d02b98bb7ab3c0afb58833 (diff) | |
download | cmd2-hg-7ed1e3bb5e54614c5c11db3a6032f50eec7c90f5.tar.gz |
FIX: Python2.[56] fails upon 'as'-keyword in pyparsing_py3.py
-rwxr-xr-x | setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -10,13 +10,14 @@ import sys 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 |