def run(self):
# Install test dependencies if needed.
if self.distribution.tests_require:
self.distribution.fetch_build_eggs(self.distribution.tests_require)
# Add eggs to PYTHONPATH. We need to do this to ensure our eggs are
# seen by Tox.
self.distribution.export_live_eggs()
import shlex
import tox
parsed_args = shlex.split(self.tox_args)
result = tox.cmdline(args=parsed_args)
sys.exit(result)
评论列表
文章目录