aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.cfg2
-rw-r--r--setup.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/setup.cfg b/setup.cfg
index 801c8b5..92278d5 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,4 +2,4 @@
test = pytest
[tool:pytest]
-addopts = --verbose
+addopts = --cov wikiget --verbose test
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',
},