Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.

Commit ca8510d

Browse files
committed
Add tests_require
1 parent bf301b1 commit ca8510d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
from setuptools.command.test import test as TestCommand
2525
import sys
2626

27+
setup_requires = [
28+
'pytest',
29+
]
30+
2731
dev_requires = [
2832
'flake8>=1.6,<2.0',
2933
]
@@ -44,7 +48,6 @@
4448
flask_tests_requires = []
4549
unittest2_requires = []
4650

47-
4851
tests_require = [
4952
'bottle',
5053
'celery>=2.5',
@@ -95,6 +98,7 @@ def run_tests(self):
9598
'tests': tests_require,
9699
'dev': dev_requires,
97100
},
101+
tests_require=tests_require,
98102
cmdclass={'test': PyTest},
99103
include_package_data=True,
100104
entry_points={

0 commit comments

Comments
 (0)