X-Git-Url: https://git.phdru.name/?p=mimedecode.git;a=blobdiff_plain;f=setup.py;h=cd2eac819f0f574174e59fc7e46541991475ba4e;hp=f5cac72414a2aa21798ef4784123c43e9aa2041f;hb=HEAD;hpb=2fdad28eacf982ed72c2288f9d3d669b94ee57a4 diff --git a/setup.py b/setup.py index f5cac72..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+") @@ -55,6 +55,10 @@ setup( 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', '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={