]> git.phdru.name Git - cookiecutter.git/commitdiff
Fix deprecated open mode `rU` -> `r`
authorOleg Broytman <phd@phdru.name>
Thu, 27 Oct 2022 15:27:14 +0000 (18:27 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 27 Oct 2022 15:27:14 +0000 (18:27 +0300)
project_template/setup.py

index 8297efa6656c7c47a32c9c8d2f7051cf30a50c83..e80242803b087d71b305333f9534e84fdb5ca697 100755 (executable)
@@ -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',