Special characters in README.rst break setup.py on Windows

This commit is contained in:
as 2018-11-28 17:58:19 +01:00
parent 08c86f3def
commit 3aafe58d4d

View File

@ -1,4 +1,5 @@
import ast
import codecs
import re
import sys
@ -61,7 +62,7 @@ setup(
name="graphene",
version=version,
description="GraphQL Framework for Python",
long_description=open("README.rst").read(),
long_description=codecs.open("README.rst", "r", "utf-8").read(),
url="https://github.com/graphql-python/graphene",
author="Syrus Akbary",
author_email="me@syrusakbary.com",