Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 0190660

Browse files
author
Jon Wayne Parrott
committed
Use io.open instead of open in setup.py
1 parent c51d35a commit 0190660

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
import io
16+
1517
from setuptools import find_packages
1618
from setuptools import setup
1719

@@ -28,7 +30,7 @@
2830
)
2931

3032

31-
with open('README.rst', 'r') as fh:
33+
with io.open('README.rst', 'r') as fh:
3234
long_description = fh.read()
3335

3436
setup(

0 commit comments

Comments
 (0)