Skip to content

Commit 57802ac

Browse files
committed
manual: drop python 2
1 parent abc475c commit 57802ac

File tree

3 files changed

+2
-22
lines changed

3 files changed

+2
-22
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,12 @@ jobs:
1010
strategy:
1111
matrix:
1212
include:
13-
- os: windows-latest
14-
py: 2.7
15-
toxenv: py
1613
- os: windows-latest
1714
py: 3.9
1815
toxenv: py
19-
- os: ubuntu-latest
20-
py: pypy2
21-
toxenv: py
2216
- os: ubuntu-latest
2317
py: pypy3
2418
toxenv: py
25-
- os: ubuntu-latest
26-
py: 2.7
27-
toxenv: py
28-
- os: ubuntu-latest
29-
py: 3.5
30-
toxenv: py
3119
- os: ubuntu-latest
3220
py: 3.6
3321
toxenv: py

setup.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,9 @@ def get_long_description():
3030
url='https://pycodestyle.pycqa.org/',
3131
license='Expat license',
3232
py_modules=['pycodestyle'],
33-
namespace_packages=[],
3433
include_package_data=True,
3534
zip_safe=False,
36-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
37-
install_requires=[
38-
# Broken with Python 3: https://github.com/pypa/pip/issues/650
39-
# 'setuptools',
40-
],
35+
python_requires='>=3.6',
4136
entry_points={
4237
'console_scripts': [
4338
'pycodestyle = pycodestyle:_main',
@@ -50,10 +45,7 @@ def get_long_description():
5045
'License :: OSI Approved :: MIT License',
5146
'Operating System :: OS Independent',
5247
'Programming Language :: Python',
53-
'Programming Language :: Python :: 2',
54-
'Programming Language :: Python :: 2.7',
5548
'Programming Language :: Python :: 3',
56-
'Programming Language :: Python :: 3.5',
5749
'Programming Language :: Python :: 3.6',
5850
'Programming Language :: Python :: 3.7',
5951
'Programming Language :: Python :: 3.8',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py27, py34, py35, py36, py37, py38, py39, py310, pypy, pypy3, jython
7+
envlist = py36, py37, py38, py39, py310, pypy3
88
skip_missing_interpreters = True
99

1010
[testenv]

0 commit comments

Comments
 (0)