diff options
author | Bastian Krause <bst@pengutronix.de> | 2019-08-02 09:33:44 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-08-08 09:51:44 +0200 |
commit | c80edbddecee19cecf65ae4b944eec7bcf79c154 (patch) | |
tree | 6a863ef1f6a5209fff6b1988abdbd789107af461 /rules/host-system-python3.make | |
parent | 58c48f349901988fb9bc63b7f2f9bbb30c6ef60d (diff) | |
download | ptxdist-c80edbddecee19cecf65ae4b944eec7bcf79c154.tar.gz ptxdist-c80edbddecee19cecf65ae4b944eec7bcf79c154.tar.xz |
host-system-python3: add option for setuptools
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-system-python3.make')
-rw-r--r-- | rules/host-system-python3.make | 6 |
1 files changed, 6 insertions, 0 deletions
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 || \ |