Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
MNT: Use utf-8 encoding when reading README.rst
Browse files Browse the repository at this point in the history
Avoid UnicodeDecodeErrors on some platforms that default to ascii encoding and fail to read the non-ascii characters.
  • Loading branch information
ScriptSmith committed Mar 15, 2019
1 parent eaab563 commit bed95f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from setuptools import setup

here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as fd:
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as fd:
long_description = fd.read()


Expand Down

0 comments on commit bed95f0

Please sign in to comment.