Skip to content

Commit

Permalink
Remove python 2 compatibility
Browse files Browse the repository at this point in the history
Remove python 2 from the Tox testing matrix, travis.yml, and setup.py.
  • Loading branch information
schbetsy committed Jan 10, 2020
1 parent 55709a2 commit 6d873c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
language: python
python:
- 2.7
- 3.6
install:
- pip install coveralls tox-travis
script:
- tox
- python setup.py bdist_wheel --universal
- python setup.py bdist_wheel
after_success:
- coveralls
deploy:
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
'Intended Audience :: Developers',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Framework :: Django :: 1.11',
],
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[tox]
skipsdist=True
envlist=lint,py{27,36}-dj{111}
envlist=lint,py{36}-dj{111}

[testenv]
basepython=
py27: python2.7
py36: python3.6
deps=
dj111: Django>=1.11,<1.12
Expand Down Expand Up @@ -47,5 +46,4 @@ sections=FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

[travis]
python=
2.7: py27-dj111
3.6: py36-dj111, lint

0 comments on commit 6d873c2

Please sign in to comment.