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:
parent
84b9989a79
commit
eb16cffa49
12
setup.cfg
12
setup.cfg
|
@ -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
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue