From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Bastian Krause Date: Fri, 2 Aug 2019 09:33:44 +0200 Message-Id: <20190802073345.32529-1-bst@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 1/2] host-system-python3: add option for setuptools List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Denis OSTERLAND , Bastian Krause Signed-off-by: Bastian Krause --- rules/host-system-python3.make | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rules/host-system-python3.make b/rules/host-system-python3.make index f5293be21..9498d847c 100644 --- a/rules/host-system-python3.make +++ b/rules/host-system-python3.make @@ -42,6 +42,12 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON3_NUMPY ptxd_bailout "Python numpy module not found! \ Please install python3-numpy (debian)"; endif +ifdef PTXCONF_HOST_SYSTEM_PYTHON3_SETUPTOOLS + @echo "Checking for Python Setuptools ..." + @$(SYSTEMPYTHON3) -c 'import setuptools' 2>/dev/null || \ + ptxd_bailout "Python setuptools module not found! \ + Please install python3-setuptools (debian)"; +endif ifdef PTXCONF_HOST_SYSTEM_PYTHON3_SIX @echo "Checking for Python Six ..." @$(SYSTEMPYTHON3) -c 'import six' 2>/dev/null || \ -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de