Skip to content

Commit

Permalink
Specify test dependencies under extra_requires
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
saiarcot895 authored and lguohan committed Nov 22, 2023
1 parent 61c44e8 commit ef8f6f8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,15 @@
'mockredispy>=2.9.3',
'deepdiff==6.2.2'
],
extras_require = {
'testing': [
'pyfakefs',
'responses',
'pytest',
'mockredispy>=2.9.3',
'deepdiff==6.2.2'
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
Expand Down

0 comments on commit ef8f6f8

Please sign in to comment.