Skip to content

Commit

Permalink
setup.py: Remove Python 2 and Pypy related code
Browse files Browse the repository at this point in the history
Support for these was recently dropped
  • Loading branch information
langston-barrett committed Feb 10, 2021
1 parent 7458c81 commit e793df5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

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

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


def readme():
with open('README.rst') as f:
Expand All @@ -38,8 +35,6 @@ def readme():
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
Expand All @@ -49,7 +44,6 @@ def readme():
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: Implementation :: Stackless',
'Topic :: Documentation',
'Topic :: Software Development :: Documentation',
Expand All @@ -60,6 +54,5 @@ def readme():
namespace_packages=['sphinxcontrib'],
include_package_data=True,
install_requires=requires,
extras_require={":python_version=='2.6'": ['argparse']},
test_suite='sphinxcontrib.autoprogram.suite'
)

0 comments on commit e793df5

Please sign in to comment.