View | Details | Raw Unified | Return to bug 201564
Collapse All | Expand All

(-)setup.py (-1 / +4 lines)
Lines 22-28 if sys.version_info < (2, 7): Link Here
22
    install_reqs += ['argparse']
22
    install_reqs += ['argparse']
23
    tests_reqs += ['unittest2']
23
    tests_reqs += ['unittest2']
24
24
25
readme = open('README.rst').read()
25
if sys.version_info[0] == 3:
26
  readme = open('README.rst', encoding='utf-8').read()
27
else:
28
  readme = open('README.rst').read()
26
history = open('CHANGES').read().replace('.. :changelog:', '')
29
history = open('CHANGES').read().replace('.. :changelog:', '')
27
30
28
setup(
31
setup(

Return to bug 201564