From da47e37c4445358976e538f903304cfa69c76a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Schoentgen?= Date: Thu, 5 Aug 2021 20:56:59 +0200 Subject: [PATCH] Use builtin `open()` in `setup.py` (#1120) --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 585ee75d..3d668090 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,6 @@ # This is purely the result of trial and error. import sys -import codecs from setuptools import setup, find_packages @@ -55,7 +54,7 @@ extras_require = { def long_description(): - with codecs.open('README.rst', encoding='utf8') as f: + with open('README.rst', encoding='utf-8') as f: return f.read()