X-Git-Url: https://git.phdru.name/?p=mimedecode.git;a=blobdiff_plain;f=setup.py;h=cd2eac819f0f574174e59fc7e46541991475ba4e;hp=5fec573977aec6d6884a49df2f24515dbd816c95;hb=HEAD;hpb=f66c51ad1cbe157b0ba67841ce0f244090b37706 diff --git a/setup.py b/setup.py index 5fec573..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+") @@ -56,6 +56,9 @@ setup( '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={