Skip to content

Commit 812ad85

Browse files
committed
Replace codecs.open with open
1 parent 72d47eb commit 812ad85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
import os
3-
import codecs
3+
44
try:
55
from setuptools import setup, find_packages
66
except ImportError:
@@ -11,7 +11,7 @@
1111
import smmap
1212

1313
if os.path.exists("README.md"):
14-
long_description = codecs.open('README.md', "r", "utf-8").read().replace('\r\n', '\n')
14+
long_description = open('README.md', "r", encoding="utf-8").read().replace('\r\n', '\n')
1515
else:
1616
long_description = "See https://github.com/gitpython-developers/smmap"
1717

0 commit comments

Comments
 (0)