X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=setup.py;h=def0a81ca3aade8798e625d2d7cf4c57f3dcfc54;hb=refs%2Fheads%2Fmaster;hp=5d31cb321c71f87fca8f1b561442cb04cbdb668e;hpb=5a68b33bafc3917f8cd708b52e7fdc6ae1df6a09;p=ppu.git diff --git a/setup.py b/setup.py index 5d31cb3..def0a81 100755 --- a/setup.py +++ b/setup.py @@ -8,10 +8,10 @@ versionpath = join(abspath(dirname(__file__)), 'ppu', '__version__.py') ppu_version = {} if sys.version_info[:2] == (2, 7): - execfile(versionpath, ppu_version) + execfile(versionpath, ppu_version) # noqa: F821 'execfile' Py3 elif sys.version_info >= (3, 4): - exec(open(versionpath, 'rU').read(), ppu_version) + exec(open(versionpath, 'r').read(), ppu_version) else: raise ImportError("ppu requires Python 2.7 or 3.4+") @@ -20,7 +20,7 @@ setup( name='ppu', version=ppu_version['__version__'], description='Broytman Portable Python Utilities', - long_description=open('README.rst', 'rU').read(), + long_description=open('README.rst', 'r').read(), long_description_content_type="text/x-rst", author='Oleg Broytman', author_email='phd@phdru.name', @@ -51,6 +51,11 @@ setup( '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=['ppu'], scripts=[