diff --git a/setup.py b/setup.py index 96d596f6..b0d077ac 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,6 @@ import sys import setuptools -import setuptools.command.test NAME = 'django-celery-beat' PACKAGE = 'django_celery_beat' @@ -103,19 +102,6 @@ def reqs(*f): # -*- %%% -*- - -class pytest(setuptools.command.test.test): - user_options = [('pytest-args=', 'a', 'Arguments to pass to pytest')] - - def initialize_options(self): - setuptools.command.test.test.initialize_options(self) - self.pytest_args = [] - - def run_tests(self): - import pytest - sys.exit(pytest.main(self.pytest_args)) - - setuptools.setup( name=NAME, packages=setuptools.find_packages(exclude=[