X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=setup.py;h=f5cac72414a2aa21798ef4784123c43e9aa2041f;hb=HEAD;hp=9b8e2dd6b7d6e5361376289f43ecbd6253ab216f;hpb=816494b27e8f22191e18f139d426bf255a21c0cd;p=mimedecode.git diff --git a/setup.py b/setup.py index 9b8e2dd..a9d28cd 100755 --- 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={