Skip to content

Commit

Permalink
Merge pull request #14 from rbarlow/setup_encoding
Browse files Browse the repository at this point in the history
Read the README file with UTF-8 encoding.
  • Loading branch information
tamentis committed Nov 21, 2015
2 parents 0e73382 + a3125b1 commit c5c5690
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
#!/usr/bin/python
#!/usr/bin/python3

import os
from distutils.core import setup
from io import open


here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
README = open(os.path.join(here, 'README.rst'), encoding='utf8').read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
except IOError:
README = CHANGES = ''


setup(
name="rpdb",
version="0.1.6",
Expand Down

0 comments on commit c5c5690

Please sign in to comment.