Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
[setup] read long_description (readme) as utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher committed Feb 19, 2016
1 parent eded14b commit d1d48ea
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
Expand Up @@ -32,6 +32,7 @@
import os
import versioneer
import warnings
from io import open

DOCLINES = __doc__.split("\n")

Expand Down Expand Up @@ -196,7 +197,7 @@ def run(self):
url='http://github.com/markovmodel/PyEMMA',
license='LGPLv3+',
description=DOCLINES[0],
long_description=open('README.rst').read(),
long_description=open('README.rst', encoding='utf8').read(),
version=versioneer.get_version(),
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
classifiers=[c for c in CLASSIFIERS.split('\n') if c],
Expand Down

0 comments on commit d1d48ea

Please sign in to comment.