From 68980b3cf06f47e08043bb3ebb45fbcb04b10169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Mon, 20 Aug 2018 22:35:37 +0200 Subject: [PATCH] Follow up fix for skip_cleanup use make sure doc_travis tox target has created the manual pages such that the environment contains this data --- setup.py | 11 ----------- tox.ini | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/setup.py b/setup.py index 97d73949..3491afca 100755 --- a/setup.py +++ b/setup.py @@ -40,17 +40,6 @@ class sdist(setuptools_sdist.sdist): level=distutils.log.INFO ) - # manual pages - command = ['make', '-C', 'doc', 'man'] - self.announce( - 'Running make -C doc man target: %s' % str(command), - level=distutils.log.INFO - ) - self.announce( - subprocess.check_output(command).decode(), - level=distutils.log.INFO - ) - # standard sdist process setuptools_sdist.sdist.run(self) diff --git a/tox.ini b/tox.ini index 7f74b090..236646a1 100644 --- a/tox.ini +++ b/tox.ini @@ -121,6 +121,7 @@ usedevelop = True deps = {[testenv:doc]deps} changedir=doc commands = + {[testenv:doc.man]commands} travis-sphinx build --nowarn --source ./source bash -c 'cp -a ./source/development/schema/images ./doc/build/development || true'