Skip to content

Commit b0615c8

Browse files
committed
Minor fixes: specify encoding while reading setup script
1 parent 68e7e22 commit b0615c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
3-
3+
import io
44
from distutils.core import setup
55

66
import setuptools
77

8-
with open("README.md", "r", encoding='utf-8') as fh:
8+
with io.open("README.md", mode='r', encoding='utf-8') as fh:
99
long_description = fh.read()
1010

1111
setup(

0 commit comments

Comments
 (0)