From 8410d708065404c50bac15edee372242a69d8f1a Mon Sep 17 00:00:00 2001 From: Betsy Lorton Date: Fri, 10 Jan 2020 11:58:58 -0500 Subject: [PATCH] Remove references to python 2 Since we no longer support python 2 in consumerfinance.gov and related repos. --- .travis.yml | 3 +-- setup.py | 1 - tox.ini | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index be108c52e..ebdcaf80b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ --- language: python python: - - 2.7 - 3.6 install: - pip install tox-travis @@ -12,7 +11,7 @@ script: # We don't want changes to package-lock.json to show up as local git # changes when the Python wheel tag is determined. - git checkout package-lock.json - - python setup.py bdist_wheel --universal + - python setup.py bdist_wheel after_script: - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js deploy: diff --git a/setup.py b/setup.py index b53f69561..4b504c493 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,6 @@ def read_file(filename): classifiers=[ 'Intended Audience :: Developers', 'Programming Language :: Python', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.6', 'Framework :: Django', 'Development Status :: 4 - Beta', diff --git a/tox.ini b/tox.ini index fd29ab082..f5e400e3a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] skipsdist=True -envlist=py{27,36}-dj{111} +envlist=py{36}-dj{111} [testenv] install_command=pip install -e ".[testing]" -U {opts} {packages} @@ -10,7 +10,6 @@ commands= coverage report --skip-covered basepython= - py27: python2.7 py36: python3.6 deps=