diff options
author | Jelmer Vernooij <jelmer@jelmer.uk> | 2021-01-18 02:01:33 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@jelmer.uk> | 2021-01-18 02:01:33 +0000 |
commit | 7598100e8041ca182973c17813a0141c716959c8 (patch) | |
tree | 7881e92150ab3d622d1a85bbb4070fd55db0dcb7 | |
parent | c093fc18d834f0545f186a84a11c58d8696f6e47 (diff) | |
download | python-fastimport-git-7598100e8041ca182973c17813a0141c716959c8.tar.gz |
Drop python 2 support.
-rw-r--r-- | .github/workflows/pythonpackage.yml | 2 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rwxr-xr-x | setup.py | 1 |
3 files changed, 1 insertions, 6 deletions
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 2ba86ce..67ba41a 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [2.7, 3.5, 3.6, 3.7, 3.8, pypy3] + python-version: [3.5, 3.6, 3.7, 3.8, pypy3] fail-fast: false steps: @@ -1,11 +1,7 @@ PYTHON = python FLAKE8 ?= flake8 SETUP = $(PYTHON) setup.py -ifeq ($(shell $(PYTHON) -c "import sys; print(sys.version_info >= (2, 7))"),True) TESTRUNNER ?= unittest -else -TESTRUNNER ?= unittest2.__main__ -endif RUNTEST = PYTHONPATH=.:$(PYTHONPATH) $(PYTHON) -m $(TESTRUNNER) DESTDIR=/ @@ -22,7 +22,6 @@ setup(name="fastimport", 'Development Status :: 4 - Beta', 'License :: OSI Approved :: GNU General Public License v2 ' 'or later (GPLv2+)', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', |