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+")
'Programming Language :: Python :: 3.5',
'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={