move utf-8 to open

This commit is contained in:
Nicholas Bollweg 2021-01-01 12:20:41 -05:00 committed by GitHub
parent a3e24bb30b
commit 77b5023183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,8 +70,8 @@ else:
cmdclass["jsdeps"] = skip_if_exists(jstargets, js_command)
with open("README.md", "r") as fh:
long_description = fh.read(encoding="utf-8")
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup_args = dict(
name=NAME,