We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3856cd8 commit b954c59Copy full SHA for b954c59
setup.py
@@ -1,19 +1,4 @@
1
from setuptools import setup, find_packages
2
-from setuptools.command.test import test as TestCommand
3
-import sys
4
-
5
6
-class PyTest(TestCommand):
7
- def finalize_options(self):
8
- TestCommand.finalize_options(self)
9
- self.test_args = []
10
- self.test_suite = True
11
12
- def run_tests(self):
13
- #import here, cause outside the eggs aren't loaded
14
- import pytest
15
- errno = pytest.main(self.test_args)
16
- sys.exit(errno)
17
18
setup(
19
name='skeleton_for_pytest',
@@ -25,7 +10,6 @@ def run_tests(self):
25
license='MIT',
26
packages=find_packages(exclude=['tests']),
27
tests_require=['pytest'],
28
- cmdclass={'test': PyTest},
29
classifiers=[
30
'Intended Audience :: Developers',
31
'License :: OSI Approved :: MIT License',
0 commit comments