Skip to content

Commit ff08e17

Browse files
author
Karthic Hariharan
committed
Fixing issue with non-ASCII characters in README.rst
1 parent cc8b644 commit ff08e17

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ python:
44
- "2.7"
55
- "3.2"
66
- "3.3"
7+
- "3.4"
78
script: nosetests tests

example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141

4242
ach_file.add_batch('PPD', entries, credits=True, debits=True)
4343

44-
print ach_file.render_to_string()
44+
print(ach_file.render_to_string())

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
from distutils.core import setup
2+
import codecs
3+
4+
readme = codecs.open('README.rst', encoding='utf-8').read()
25

36
setup(
47
name='ach',
@@ -11,5 +14,5 @@
1114
url='https://github.com/travishathaway/python-ach',
1215
license='MIT License',
1316
description='Library to create and parse ACH files (NACHA)',
14-
long_description=open('README.rst').read(),
17+
long_description=readme,
1518
)

0 commit comments

Comments
 (0)