Merge "Python3 by default"

This commit is contained in:
Zuul 2018-09-05 23:55:11 +00:00 committed by Gerrit Code Review
commit ca6ef19d38
2 changed files with 4 additions and 6 deletions

View File

@ -12,8 +12,9 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
[files]
packages = openstack_election

View File

@ -4,6 +4,7 @@ minversion = 2.0
skipsdist = True
[testenv]
basepython = python3
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
@ -25,10 +26,6 @@ commands = {posargs}
basepython = python2
commands = {posargs}
[testenv:venv3]
basepython = python3
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx