From 40c278a44902788919b0bba17dc54d485425c04a Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 11 Apr 2020 16:22:26 +0200 Subject: [PATCH] Cleanup py27 support This repo is now testing only with Python 3, so let's make a few cleanups: - Remove obsolete sections from setup.cfg - Cleanup doc/source/conf.py to remove now obsolete content. - Use newer openstackdocstheme version - Remove hacking from requirements, it's required in tox.ini already Change-Id: Ie5d87c62cca191c345bc273e9e43415ec4501df7 --- doc/source/conf.py | 5 +---- requirements.txt | 5 ++--- setup.cfg | 8 -------- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index a3ceb0c..4ee416e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -7,14 +7,11 @@ # serve to show the default. import datetime -import subprocess -import sys -import os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.insert(0, os.path.abspath('.')) +# sys.path.insert(0, os.path.abspath('.')) # -- General configuration ----------------------------------------------------- diff --git a/requirements.txt b/requirements.txt index 0fcfede..207e8a4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -hacking jsonschema requests PyYAML>=3.10.0 # MIT -openstackdocstheme>=1.20.0 # Apache-2.0 -sphinx>=1.5.1 # BSD +openstackdocstheme>=1.31.2 # Apache-2.0 +sphinx>=1.6.1 # BSD diff --git a/setup.cfg b/setup.cfg index d3773fd..1e1ae43 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,11 +12,3 @@ classifier = Intended Audience :: System Administrators License :: OSI Approved :: Apache Software License Operating System :: POSIX :: Linux - -[egg_info] -tag_build = -tag_date = 0 -tag_svn_revision = 0 - -[wheel] -universal = 1