Skip to content

Commit 5b2fc53

Browse files
committed
Remove deprecated tests_require= and test_suite=. Refs #1675
1 parent 23145c2 commit 5b2fc53

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

setup.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,6 @@
3636
" dependency because pkg_resources is used to load plugins"
3737
)
3838

39-
requires = []
40-
41-
tests_require = []
42-
testing_extras = tests_require + [
43-
'pytest',
44-
'pytest-cov',
45-
]
46-
4739
from setuptools import setup, find_packages
4840
here = os.path.abspath(os.path.dirname(__file__))
4941
try:
@@ -102,14 +94,12 @@
10294
author="Chris McDonough",
10395
author_email="[email protected]",
10496
packages=find_packages(),
105-
install_requires=requires,
97+
install_requires=[],
10698
extras_require={
107-
'testing': testing_extras,
99+
'test': ['pytest', 'pytest-cov']
108100
},
109-
tests_require=tests_require,
110101
include_package_data=True,
111102
zip_safe=False,
112-
test_suite="supervisor.tests",
113103
entry_points={
114104
'console_scripts': [
115105
'supervisord = supervisor.supervisord:main',

0 commit comments

Comments
 (0)