From aa346456a1fde01dadb707a8277bb80a49f5071f Mon Sep 17 00:00:00 2001 From: iamdbychkov Date: Thu, 17 Jun 2021 11:06:04 +0300 Subject: [PATCH] Add Python 3 Classifiers. Remove Python 2 Classifiers. Add `python_requires` directive to allure-python-commons setup.py script. --- allure-behave/setup.py | 3 +-- allure-nose2/setup.py | 1 + allure-pytest-bdd/setup.py | 2 ++ allure-pytest/setup.py | 2 ++ allure-python-commons/setup.py | 5 ++++- allure-robotframework/setup.py | 2 ++ 6 files changed, 12 insertions(+), 3 deletions(-) diff --git a/allure-behave/setup.py b/allure-behave/setup.py index fe813705..b06468ad 100644 --- a/allure-behave/setup.py +++ b/allure-behave/setup.py @@ -10,9 +10,8 @@ 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', 'Topic :: Software Development :: Testing :: BDD', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ] diff --git a/allure-nose2/setup.py b/allure-nose2/setup.py index da1533df..c0371edb 100644 --- a/allure-nose2/setup.py +++ b/allure-nose2/setup.py @@ -10,6 +10,7 @@ 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ] diff --git a/allure-pytest-bdd/setup.py b/allure-pytest-bdd/setup.py index 5bb93a03..e5ebe859 100644 --- a/allure-pytest-bdd/setup.py +++ b/allure-pytest-bdd/setup.py @@ -10,6 +10,8 @@ 'License :: OSI Approved :: Apache Software License', 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3 :: Only', ] setup_requires = [ diff --git a/allure-pytest/setup.py b/allure-pytest/setup.py index 73b3304c..b6ea5147 100644 --- a/allure-pytest/setup.py +++ b/allure-pytest/setup.py @@ -22,6 +22,8 @@ 'License :: OSI Approved :: Apache Software License', 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3 :: Only', ] setup_requires = [ diff --git a/allure-python-commons/setup.py b/allure-python-commons/setup.py index 6b9f6d8e..b6710999 100644 --- a/allure-python-commons/setup.py +++ b/allure-python-commons/setup.py @@ -8,6 +8,8 @@ 'License :: OSI Approved :: Apache Software License', 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3 :: Only', ] install_requires = [ @@ -33,7 +35,8 @@ def main(): packages=["allure_commons"], package_dir={"allure_commons": 'src'}, install_requires=install_requires, - py_modules=['allure', 'allure_commons'] + py_modules=['allure', 'allure_commons'], + python_requires='>=3.5' ) diff --git a/allure-robotframework/setup.py b/allure-robotframework/setup.py index 326e474f..1925f60c 100644 --- a/allure-robotframework/setup.py +++ b/allure-robotframework/setup.py @@ -11,6 +11,8 @@ 'License :: OSI Approved :: Apache Software License', 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3 :: Only', ] setup_requires = [