Skip to content

Commit

Permalink
Remove py27 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien Vallet committed Nov 4, 2019
1 parent 11ac894 commit d844ab0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
language: python
matrix:
include:
- python: 2.7
env: TOXENV=py27-crypto,py27-nocrypto,py27-contrib_crypto
- python: 3.4
env: TOXENV=py34-crypto,py34-nocrypto
- python: 3.5
env: TOXENV=py35-crypto,py35-nocrypto,py35-contrib_crypto
- python: 3.6
env: TOXENV=py36-crypto,py36-nocrypto,py36-contrib_crypto
- python: 3.7
env: TOXENV=lint,typing,py37-crypto,py37-nocrypto,py37-contrib_crypto
dist: xenial
install:
- pip install -U pip
- pip install -U tox coveralls
Expand Down
9 changes: 6 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
environment:
matrix:
- PYTHON: "C:\\Python27-x64"
TOX_ENV: "py27-crypto"

- PYTHON: "C:\\Python35-x64"
TOX_ENV: "py35-crypto"

- PYTHON: "C:\\Python36-x64"
TOX_ENV: "py36-crypto"

- PYTHON: "C:\\Python37-x64"
TOX_ENV: "py37-crypto"

init:
- SET PATH=%PYTHON%;%PATH%
- python -c "import sys;sys.stdout.write(sys.version)"
Expand Down
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python3

import os
import re
import sys
Expand Down Expand Up @@ -60,14 +60,13 @@ def get_version(package):
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Utilities",
],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
python_requires=">=3, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
extras_require=EXTRAS_REQUIRE,
entry_points={"console_scripts": ["pyjwt = jwt.__main__:main"]},
options={"bdist_wheel": {"universal": "1"}},
Expand Down
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
[tox]
envlist = lint, typing, py{27,34,35,36,37}-crypto, py{27,35,36,37}-contrib_crypto, py{27,35,36,37}-nocrypto
envlist =
lint
typing
py{35,36,37}-crypto
py{35,36,37}-contrib_crypto
py{35,36,37}-nocrypto


[testenv]
Expand Down

0 comments on commit d844ab0

Please sign in to comment.