Skip to content

Commit

Permalink
chore(build): remove cmdclass parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
stegayet committed May 14, 2023
1 parent d260b78 commit e32c077
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import sys

import setuptools
import setuptools.command.test

try:
from setuptools import setup
Expand Down Expand Up @@ -80,18 +79,6 @@ def extras(*p):
return reqs('extras', *p)


class pytest(setuptools.command.test.test):
user_options = [('pytest-args=', 'a', 'Arguments to pass to py.test')]

def initialize_options(self):
super().initialize_options()
self.pytest_args = []

def run_tests(self):
import pytest
sys.exit(pytest.main(self.pytest_args))


def readme():
with open('README.rst') as f:
return f.read()
Expand All @@ -111,7 +98,6 @@ def readme():
},
platforms=['any'],
license='BSD-3-Clause',
cmdclass={'test': pytest},
python_requires=">=3.7",
install_requires=reqs('default.txt'),
tests_require=reqs('test.txt'),
Expand Down

0 comments on commit e32c077

Please sign in to comment.