Skip to content

Commit ef8f6f8

Browse files
saiarcot895lguohan
authored andcommitted
Specify test dependencies under extra_requires
Newer versions of pip/setuptools don't support test_requires, and the current standard is to specify any extra dependencies (such as those required for testing) under extra_requires. Therefore, specify the testing dependencies under extra_requires. These can be installed via pip using `pip install '.[testing]'`. Signed-off-by: Saikrishna Arcot <[email protected]>
1 parent 61c44e8 commit ef8f6f8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

setup.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,15 @@
269269
'mockredispy>=2.9.3',
270270
'deepdiff==6.2.2'
271271
],
272+
extras_require = {
273+
'testing': [
274+
'pyfakefs',
275+
'responses',
276+
'pytest',
277+
'mockredispy>=2.9.3',
278+
'deepdiff==6.2.2'
279+
],
280+
},
272281
classifiers=[
273282
'Development Status :: 3 - Alpha',
274283
'Environment :: Console',

0 commit comments

Comments
 (0)