From 3e7d44746eaac91d684654702f27b156b46df831 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 5 Apr 2020 08:22:11 +0200 Subject: Cleanup py27 support Make a few cleanups: - Remove python 2.7 stanza from setup.py - Add requires on python >= 3.6 to setup.cfg so that pypi and pip know about the requirement - Remove obsolete sections from setup.cfg: * Wheel is not needed for python 3 only repo * Some other sections are obsolete - Update classifiers - Update requirements, no need for python_version anymore - Use sphinx-build Change-Id: I8abd764d97a6711d3e6347ec3a7b8967f1512006 --- setup.cfg | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index f8b7174f..b1ba6a97 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,6 +7,7 @@ author-email = openstack-discuss@lists.openstack.org home-page = https://docs.openstack.org/ironic-python-agent/ summary = Ironic Python Agent Ramdisk license = Apache-2 +python-requires = >=3.6 classifier = Environment :: OpenStack Intended Audience :: System Administrators @@ -14,9 +15,12 @@ classifier = License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python + Programming Language :: Python :: Implementation :: CPython + Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 + [files] packages = ironic_python_agent @@ -55,16 +59,7 @@ ironic_python_agent.inspector.collectors = autodoc_index_modules = True api_doc_dir = contributor/api -[build_sphinx] -all_files = 1 -build-dir = doc/build -source-dir = doc/source -warning-is-error = 1 - [egg_info] tag_build = tag_date = 0 tag_svn_revision = 0 - -[wheel] -universal = 1 -- cgit v1.2.1