]> git.phdru.name Git - mimedecode.git/blobdiff - setup.py
Build(GHActions): Use `checkout@v4` instead of outdated `v2`
[mimedecode.git] / setup.py
index 9b8e2dd6b7d6e5361376289f43ecbd6253ab216f..a9d28cdbbb4d6f2d50691a758c2d61ba080a5570 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ if sys.version_info[:2] == (2, 7):
     execfile(versionpath, mimedecode_version)  # noqa: F821 'execfile' Py3
 
 elif sys.version_info >= (3, 4):
-    exec(open(versionpath, 'rU').read(), mimedecode_version)
+    exec(open(versionpath, 'r').read(), mimedecode_version)
 
 else:
     raise ImportError("mimedecode requires Python 2.7 or 3.4+")
@@ -57,6 +57,8 @@ setup(
         'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: 3.9',
         'Programming Language :: Python :: 3.10',
+        'Programming Language :: Python :: 3.11',
+        'Programming Language :: Python :: 3.12',
     ],
     packages=['mimedecode'],
     entry_points={