Skip to content

Commit e793df5

Browse files
setup.py: Remove Python 2 and Pypy related code
Support for these was recently dropped
1 parent 7458c81 commit e793df5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

setup.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111

1212
requires = ['Sphinx >= 1.2', 'six']
1313

14-
if 'bdist_wheel' not in sys.argv and sys.version_info < (2, 7):
15-
requires.append('argparse')
16-
1714

1815
def readme():
1916
with open('README.rst') as f:
@@ -38,8 +35,6 @@ def readme():
3835
'License :: OSI Approved :: BSD License',
3936
'Operating System :: OS Independent',
4037
'Programming Language :: Python',
41-
'Programming Language :: Python :: 2.6',
42-
'Programming Language :: Python :: 2.7',
4338
'Programming Language :: Python :: 3.3',
4439
'Programming Language :: Python :: 3.4',
4540
'Programming Language :: Python :: 3.5',
@@ -49,7 +44,6 @@ def readme():
4944
'Programming Language :: Python :: 3.9',
5045
'Programming Language :: Python :: 3.10',
5146
'Programming Language :: Python :: Implementation :: CPython',
52-
'Programming Language :: Python :: Implementation :: PyPy',
5347
'Programming Language :: Python :: Implementation :: Stackless',
5448
'Topic :: Documentation',
5549
'Topic :: Software Development :: Documentation',
@@ -60,6 +54,5 @@ def readme():
6054
namespace_packages=['sphinxcontrib'],
6155
include_package_data=True,
6256
install_requires=requires,
63-
extras_require={":python_version=='2.6'": ['argparse']},
6457
test_suite='sphinxcontrib.autoprogram.suite'
6558
)

0 commit comments

Comments
 (0)