From: Oleg Broytman Date: Thu, 27 Oct 2022 15:27:14 +0000 (+0300) Subject: Fix deprecated open mode `rU` -> `r` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=01278a7c66989f50a38fb6ce517876d8fddd5dd8;p=cookiecutter.git Fix deprecated open mode `rU` -> `r` --- diff --git a/project_template/setup.py b/project_template/setup.py index 8297efa..e802428 100755 --- a/project_template/setup.py +++ b/project_template/setup.py @@ -27,7 +27,7 @@ setup( name='{project}', version={project}_version.__version__, description='Broytman {project}', - long_description=open('README.rst', 'rU').read(), + long_description=open('README.rst', 'r').read(), long_description_content_type="text/x-rst", author='Oleg Broytman', author_email='phd@phdru.name',