From 6f7231eb5a1eb122edb4b25a78a57d170ad35838 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 6 Oct 2020 19:16:49 +0300 Subject: [PATCH] Add Trove classifier, update setup.py version check, add to tox.ini --- setup.py | 3 ++- tox.ini | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b2129fbd4..2f7c85e9b 100755 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ TIFF_ROOT = None ZLIB_ROOT = None -if sys.platform == "win32" and sys.version_info >= (3, 9): +if sys.platform == "win32" and sys.version_info >= (3, 10): warnings.warn( f"Pillow {PILLOW_VERSION} does not support Python " f"{sys.version_info.major}.{sys.version_info.minor} and does not provide " @@ -871,6 +871,7 @@ try: "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", diff --git a/tox.ini b/tox.ini index 22ca36daf..81c6e19cf 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ [tox] envlist = lint - py{36,37,38,py3} + py{36,37,38,39,py3} minversion = 1.9 [testenv]