Skip to content

Commit

Permalink
remove pytest-runner, other code supporting python 2.x
Browse files Browse the repository at this point in the history
Parsimonious no longer supports python 2.x and this removes code from setup.py that supported python 2.x patterns and trigger warnings in python 3.x. In a post PEP 517 world, tox manages the test dependencies.
  • Loading branch information
lonnen committed Mar 28, 2022
1 parent 9a0d2e4 commit edc9186
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
from sys import version_info

# Prevent spurious errors during `python setup.py test` in 2.6, a la
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html:
try:
import multiprocessing
except ImportError:
pass

from io import open
from setuptools import setup, find_packages

Expand All @@ -21,8 +14,6 @@
author_email='[email protected]',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
setup_requires=['pytest-runner'],
tests_require=['pytest'],
test_suite='tests',
url='https://github.com/erikrose/parsimonious',
include_package_data=True,
Expand Down

0 comments on commit edc9186

Please sign in to comment.