diff options
author | Anthony Sottile <asottile@umich.edu> | 2021-11-08 18:20:25 -0500 |
---|---|---|
committer | Anthony Sottile <asottile@umich.edu> | 2021-11-08 18:33:44 -0500 |
commit | 57802ace9f0a22fb303a2f5ba5f98b31cb8aadf8 (patch) | |
tree | c41d0a495027f1a62558e2cad44e04605c2cacee | |
parent | abc475ca09949aea9a802598c984bf822eea252f (diff) | |
download | pep8-57802ace9f0a22fb303a2f5ba5f98b31cb8aadf8.tar.gz |
manual: drop python 2
-rw-r--r-- | .github/workflows/main.yml | 12 | ||||
-rw-r--r-- | setup.py | 10 | ||||
-rw-r--r-- | 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 @@ -11,24 +11,12 @@ jobs: 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 - os: ubuntu-latest @@ -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', @@ -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] |