Commit 6c5a0d3c authored by James Valleroy's avatar James Valleroy Committed by Joseph Nuthalapati

tests: Make coverage package optional

Signed-off-by: James Valleroy's avatarJames Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati's avatarJoseph Nuthalapati <njoseph@thoughtworks.com>
parent 647d2898
......@@ -26,7 +26,6 @@
Support for integration of code test coverage analysis with setuptools.
"""
import coverage
import glob
import setuptools
import shutil
......@@ -65,6 +64,8 @@ class CoverageCommand(setuptools.Command):
def run(self):
"""Main command implementation."""
import coverage
if self.distribution.install_requires:
self.distribution.fetch_build_eggs(
self.distribution.install_requires)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment