in setup.py [0:0]
def run_tests(self): import pytest errcode = pytest.main(self.test_args) sys.exit(errcode)