From 2cd88e1253053d810b8a7c10af5d112858a43ce7 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Fri, 28 Oct 2022 18:46:07 +0100 Subject: [PATCH] Officially support Python 3.10 and 3.11 Also don't pass deprecated arguments to `setup()` . --- setup.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/setup.py b/setup.py index 029f625b6..7afb13d04 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,6 @@ _version_re = re.compile(r"__version__\s+=\s+(.*)") - with open("%s/__init__.py" % SOURCE_DIR, "rb") as f: init_contents = f.read().decode("utf-8") @@ -40,7 +39,6 @@ def get_var(var_name): PROJECT_AUTHOR = get_var("PROJECT_AUTHOR") PROJECT_EMAIL = get_var("PROJECT_EMAIL") -TEST_DIR = "tests" PROJECT_DESCRIPTION = ( "Command-line utilities to assist in building tools for the Galaxy project (http://galaxyproject.org/)." ) @@ -90,11 +88,6 @@ def get_var(var_name): # In tox, it will cover them anyway. requirements = [] -test_requirements = [ - # TODO: put package test requirements here -] - - setup( name=PROJECT_NAME, version=version, @@ -127,7 +120,7 @@ def get_var(var_name): "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", ], - test_suite=TEST_DIR, - tests_require=test_requirements, )