Skip to content

Commit f8ba250

Browse files
committed
setup: Move from codecs.open() to open()
1 parent 5952d91 commit f8ba250

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import codecs
21
import os
32
import shutil
43

@@ -9,7 +8,8 @@
98
package_dir = os.path.dirname(os.path.realpath(__file__))
109

1110
frida_version = os.environ.get("FRIDA_VERSION", "0.0.0")
12-
long_description = codecs.open(os.path.join(package_dir, "README.md"), "r", "utf-8").read()
11+
with open(os.path.join(package_dir, "README.md"), "r", encoding="utf-8") as f:
12+
long_description = f.read()
1313
frida_extension = os.environ.get("FRIDA_EXTENSION", None)
1414

1515

0 commit comments

Comments
 (0)