From 0c4bc043b11ad97cdb3bde5843ee34f9d7809a70 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 19 Nov 2018 05:46:43 -0500 Subject: Test that we have the right Python versions in the classifiers --- setup.py | 1 + tests/test_setup.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 95b4944c..77dcab3d 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ Programming Language :: Python :: 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 :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Programming Language :: Python :: Implementation :: Jython diff --git a/tests/test_setup.py b/tests/test_setup.py index d786ca05..9ab10391 100644 --- a/tests/test_setup.py +++ b/tests/test_setup.py @@ -40,6 +40,8 @@ class SetupPyTest(CoverageTest): classifiers = setup_args['classifiers'] self.assertGreater(len(classifiers), 7) self.assert_starts_with(classifiers[-1], "Development Status ::") + self.assertIn("Programming Language :: Python :: %d" % sys.version_info[:1], classifiers) + self.assertIn("Programming Language :: Python :: %d.%d" % sys.version_info[:2], classifiers) long_description = setup_args['long_description'].splitlines() self.assertGreater(len(long_description), 7) -- cgit v1.2.1