aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorCody Logan <clpo13@gmail.com>2020-07-22 18:12:54 -0700
committerCody Logan <clpo13@gmail.com>2020-07-22 18:12:54 -0700
commit9bd0c01bd141fe3e88bb699610990431e9262704 (patch)
treefb43715c84e3bf4fd602ffdb3b9c924810b0aebe /setup.py
parent15d7c9d52ffd1ef853c301c66a1bdb925606cb7f (diff)
downloadwikiget-9bd0c01bd141fe3e88bb699610990431e9262704.tar.gz
wikiget-9bd0c01bd141fe3e88bb699610990431e9262704.zip
Add pytest-cov for code coverage
Also remove pytest-runner from the list of dependencies to be installed, as it's only necessary when running the test suite
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 81cb54f..5fedd36 100644
--- a/setup.py
+++ b/setup.py
@@ -64,8 +64,9 @@ setup(
'Topic :: Utilities',
],
python_requires='>=3.5',
- install_requires=['mwclient>=0.10.0', 'pytest-runner', 'requests', 'tqdm'],
- tests_require=['pytest'],
+ install_requires=['mwclient>=0.10.0', 'requests', 'tqdm'],
+ setup_requires=['pytest-runner'],
+ tests_require=['pytest', 'pytest-cov'],
project_urls={
'Bug Reports': 'https://github.com/clpo13/wikiget/issues',
},