comparison setup.py @ 398:7812e00ff5b1

encode paste buffer write for Python 3
author catherine.devlin@gmail.com
date Sun, 19 Sep 2010 09:20:56 -0400
parents 49bd3dc5c205
children f7cb69b0da9e
comparison
equal deleted inserted replaced
397:50acba85cf9e 398:7812e00ff5b1
8 import sys 8 import sys
9 9
10 python3 = sys.version_info[0] > 2 10 python3 = sys.version_info[0] > 2
11 if python3: 11 if python3:
12 install_requires = [] # will rely on local pyparsing_py3 copy 12 install_requires = [] # will rely on local pyparsing_py3 copy
13 extra_modules = "pyparsing_py3" 13 extra_modules = ["pyparsing_py3"]
14 else: 14 else:
15 install_requires = ['pyparsing>=1.5.1'] 15 install_requires = ['pyparsing>=1.5.1']
16 extra_modules = [] 16 extra_modules = []
17 setup( 17 setup(
18 name="cmd2", 18 name="cmd2",