From cc4660e07ee170e77d871d505d6f2d4970f8a177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Tue, 30 May 2017 10:20:56 +0200 Subject: [PATCH] setup: Develop all on ReadTheDocs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We need optional plugins in ReadTheDocs, but they are not installed by default. Let's use `make develop` there as it should do and install normally when outside ReadTheDocs environment. Signed-off-by: Lukáš Doktor --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 37fe408d..0b4a4f26 100755 --- a/setup.py +++ b/setup.py @@ -104,6 +104,9 @@ def get_long_description(): if __name__ == '__main__': + # Force "make develop" inside READTHEDOCS environment + if os.environ.get("READTHEDOCS") and "install" in sys.argv: + os.system("make develop") setup(name='avocado-framework', version=VERSION, description='Avocado Test Framework', -- GitLab