Skip to content

Commit 3334922

Browse files
committed
cross version io/open
1 parent ec4ac22 commit 3334922

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
@@ -24,11 +24,12 @@
2424

2525
from setuptools import setup, find_packages # Always prefer setuptools over distutils
2626
from os import path
27+
import io
2728

2829
here = path.abspath(path.dirname(__file__))
2930

3031
# get the log description
31-
with open(path.join(here, "DESCRIPTION.rst"), encoding="utf-8") as f:
32+
with io.open(path.join(here, "DESCRIPTION.rst"), encoding="utf-8") as f:
3233
long_description = f.read()
3334

3435
setup(

0 commit comments

Comments
 (0)