We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a79efd commit 755f7d6Copy full SHA for 755f7d6
setup.py
@@ -3,7 +3,7 @@
3
# Copyright (c) 2018 - The MITRE Corporation
4
# For license information, see the LICENSE.txt file
5
6
-
+from io import open # Allow `encoding` kwarg on Python 2.7
7
from os.path import abspath, dirname, join
8
9
@@ -23,7 +23,7 @@ def get_version():
23
24
25
def get_long_description():
26
- with open('README.rst') as f:
+ with open('README.rst', encoding='utf-8') as f:
27
return f.read()
28
29
0 commit comments