From 57802ace9f0a22fb303a2f5ba5f98b31cb8aadf8 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 8 Nov 2021 18:20:25 -0500 Subject: manual: drop python 2 --- .github/workflows/main.yml | 12 ------------ setup.py | 10 +--------- tox.ini | 2 +- 3 files changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1caefaf..0d26707 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,24 +10,12 @@ jobs: strategy: matrix: include: - - os: windows-latest - py: 2.7 - toxenv: py - os: windows-latest py: 3.9 toxenv: py - - os: ubuntu-latest - py: pypy2 - toxenv: py - os: ubuntu-latest py: pypy3 toxenv: py - - os: ubuntu-latest - py: 2.7 - toxenv: py - - os: ubuntu-latest - py: 3.5 - toxenv: py - os: ubuntu-latest py: 3.6 toxenv: py diff --git a/setup.py b/setup.py index 3f0c363..b0b9efd 100644 --- a/setup.py +++ b/setup.py @@ -30,14 +30,9 @@ setup( url='https://pycodestyle.pycqa.org/', license='Expat license', py_modules=['pycodestyle'], - namespace_packages=[], include_package_data=True, zip_safe=False, - python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', - install_requires=[ - # Broken with Python 3: https://github.com/pypa/pip/issues/650 - # 'setuptools', - ], + python_requires='>=3.6', entry_points={ 'console_scripts': [ 'pycodestyle = pycodestyle:_main', @@ -50,10 +45,7 @@ setup( 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', diff --git a/tox.ini b/tox.ini index 312c20d..18f1a4f 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py27, py34, py35, py36, py37, py38, py39, py310, pypy, pypy3, jython +envlist = py36, py37, py38, py39, py310, pypy3 skip_missing_interpreters = True [testenv] -- cgit v1.2.1