Skip to content

Commit

Permalink
Merge pull request #299 from Nobatek/fix_setup_multiplatform
Browse files Browse the repository at this point in the history
Specify utf-8 for index.rst in setup.py
  • Loading branch information
lafrech committed Feb 12, 2017
2 parents c74528d + 2afa9ca commit 852ca91
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,3 +1,4 @@
import io
import os
from setuptools import setup

Expand All @@ -7,7 +8,7 @@

# Load index.rst as long_description
doc_path = os.path.join(os.path.dirname(__file__), "docs", "index.rst")
long_description = open(doc_path).read()
long_description = io.open(doc_path, encoding='utf-8').read()

# Stops exit traceback on tests
try:
Expand Down

0 comments on commit 852ca91

Please sign in to comment.