mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Denis OSTERLAND <denis.osterland@diehl.com>,
	Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH 1/2] host-system-python3: add option for setuptools
Date: Fri,  2 Aug 2019 09:33:44 +0200	[thread overview]
Message-ID: <20190802073345.32529-1-bst@pengutronix.de> (raw)

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
 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

             reply	other threads:[~2019-08-02  7:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-02  7:33 Bastian Krause [this message]
2019-08-02  7:33 ` [ptxdist] [PATCH 2/2] host-meson: select HOST_SYSTEM_PYTHON3_SETUPTOOLS Bastian Krause

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190802073345.32529-1-bst@pengutronix.de \
    --to=bst@pengutronix.de \
    --cc=denis.osterland@diehl.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox