diff --git a/setup.py b/setup.py index 4b21af3..145bdab 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,6 @@ from configparser import ConfigParser from setuptools import find_packages import codecs -from coverage import Coverage import pwd import shutil import subprocess @@ -338,15 +337,8 @@ class test_command(Command): def run(self): import pytest - cov = Coverage() - cov.erase() - cov.start() - result = pytest.main() - cov.stop() - cov.save() - cov.html_report(directory="covhtml") sys.exit(int(bool(len(result.failures) > 0 or len(result.errors) > 0))) @@ -474,7 +466,6 @@ if __name__ == "__main__": }, license="GPLv2+", setup_requires=[ - "coverage", "distro", "setuptools", "sphinx", @@ -494,7 +485,7 @@ if __name__ == "__main__": ], extras_require={ "lint": ["pyflakes", "pycodestyle"], - "test": ["pytest", "pytest-cov", "codecov", "pytest-mock"], + "test": ["pytest", "pytest-mock"], # We require the current version to properly detect duplicate issues # See: https://github.com/twisted/towncrier/releases/tag/22.8.0 "changelog": ["towncrier>=22.8.0"],