Skip to content

Commit 3aafe58

Browse files
author
as
committed
Special characters in README.rst break setup.py on Windows
1 parent 08c86f3 commit 3aafe58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import ast
2+
import codecs
23
import re
34
import sys
45

@@ -61,7 +62,7 @@ def run_tests(self):
6162
name="graphene",
6263
version=version,
6364
description="GraphQL Framework for Python",
64-
long_description=open("README.rst").read(),
65+
long_description=codecs.open("README.rst", "r", "utf-8").read(),
6566
url="https://github.com/graphql-python/graphene",
6667
author="Syrus Akbary",
6768
author_email="[email protected]",

0 commit comments

Comments
 (0)