Skip to content

Commit

Permalink
setup.py: use codecs.open() so it works for non-utf8 locales
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed Nov 1, 2014
1 parent 90dc03c commit e6306f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import codecs
from setuptools import setup


with open('README.rst') as f:
with codecs.open('README.rst', encoding='utf-8') as f:
long_description = f.read()

setup(
Expand Down

0 comments on commit e6306f7

Please sign in to comment.