From 9bd0c01bd141fe3e88bb699610990431e9262704 Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Wed, 22 Jul 2020 18:12:54 -0700 Subject: 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 --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'setup.py') 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', }, -- cgit v1.2.3