From edc91860f6d76b0bce179bc3a692cbbecc2684b6 Mon Sep 17 00:00:00 2001 From: lonnen Date: Sun, 27 Mar 2022 16:41:21 -0700 Subject: [PATCH] remove pytest-runner, other code supporting python 2.x 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. --- setup.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/setup.py b/setup.py index 9a28ff2..f2e2ab5 100644 --- a/setup.py +++ b/setup.py @@ -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 @@ -21,8 +14,6 @@ author_email='erikrose@grinchcentral.com', 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,