Drop Python 2.7 support

Drop the 2.7 tox job and add some Python 3 classifiers to setup.cfg

Change-Id: I83fcdd39cbfffada7b26ab784f7a907aeea0b5cd
This commit is contained in:
Ian Wienand 2021-07-01 17:07:00 +10:00
parent ce0c909125
commit 04da41ceda
3 changed files with 10 additions and 5 deletions

View File

@ -57,7 +57,6 @@
check:
jobs:
- tox-pep8
- tox-py27
- tox-py36:
nodeset: ubuntu-bionic
- tox-py38
@ -66,7 +65,6 @@
gate:
jobs:
- tox-pep8
- tox-py27
- tox-py36:
nodeset: ubuntu-bionic
- tox-py38

View File

@ -6,9 +6,16 @@ license = BSD
summary = LodgeIt implements a pastebin
author = OpenDev
author-email = openstack-infra@lists.openstack.org
home-page = https://opendev.org/opendev/lodgeit
classifier =
Intended Audience :: Information Technology
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
[entry_points]
wsgi_scripts =
lodgeit-wsgi = lodgeit.application:make_app
console_scripts =
lodgeit-managedb = lodgeit.cmd.managedb:main
lodgeit-managedb = lodgeit.cmd.managedb:main

View File

@ -1,6 +1,6 @@
[tox]
minversion = 1.6
envlist = pep8, py27, py36, py38
envlist = pep8, py36, py38
skipsdist = True
[testenv]