Skip to content

Commit 2400630

Browse files
rossbarlarsoner
authored andcommitted
DEV: Add test_requirements.txt to setup.py
An additional convenience for pip users for setting up a numpydoc development environment.
1 parent 81b8b69 commit 2400630

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ def read(fname):
4646
license="BSD",
4747
install_requires=["sphinx >= 1.6.5", 'Jinja2>=2.3'],
4848
python_requires=">=3.5",
49+
extras_require={
50+
"testing": [
51+
req for req in read('test_requirements.txt').split('\n')
52+
if not req.startswith('#')
53+
],
54+
},
4955
package_data={'numpydoc': [
5056
'tests/test_*.py',
5157
'tests/tinybuild/Makefile',

0 commit comments

Comments
 (0)