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
- move basepython to testenv in tox.ini

Change-Id: I243af5c69d9f1335609667574c00e5bec7b5659a
This commit is contained in:
Andreas Jaeger 2020-06-04 17:59:19 +02:00
parent 84b9989a79
commit eb16cffa49
2 changed files with 2 additions and 14 deletions

View File

@ -5,20 +5,10 @@ description-file =
README.rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = http://specs.openstack.org/openstack/manila-specs/
home-page = https://specs.openstack.org/openstack/manila-specs/
classifier =
Environment :: OpenStack
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
License :: Creative Commons Attribution
Operating System :: POSIX :: Linux
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
builders = html
warning-is-error = 1
[upload_sphinx]
upload-dir = doc/build/html

View File

@ -4,6 +4,7 @@ envlist = docs,pep8
skipsdist = True
[testenv]
basepython = python3
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
@ -12,17 +13,14 @@ deps = -r{toxinidir}/requirements.txt
whitelist_externals = echo
[testenv:pep8]
basepython = python3
commands =
flake8
doc8 --ignore D001 specs/
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:docs]
basepython = python3
whitelist_externals = rm
commands =
rm -rf doc/build