Skip to content

Commit

Permalink
Use io.open with utf-8 encoding in setup.py. Fix #98 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas authored Jun 4, 2018
1 parent 220f2b9 commit 9b01295
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

from __future__ import absolute_import, unicode_literals

import io

from draftjs_exporter import __version__

from setuptools import find_packages, setup
Expand Down Expand Up @@ -34,8 +36,7 @@
'isort==4.2.5',
] + dependencies['html5lib'] + dependencies['lxml']

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

setup(
name='draftjs_exporter',
Expand Down

0 comments on commit 9b01295

Please sign in to comment.