@@ -87,6 +87,22 @@ python-exe:
8787 @:
8888endif
8989
90+msg-pip-exe:
91+ @echo "\n $(PIP) is required\n\n\
92+ Make sure you have updated pip installed, grab it from\n\
93+ https://pip.pypa.io or install it from your package\n\
94+ manager. On debian based OS these requirements are\n\
95+ installed by::\n\n\
96+ sudo -H apt-get install python$(PY)-pip\n" | $(FMT)
97+
98+ifeq ($(shell which $(PIP) >/dev/null 2>&1; echo $$?), 1)
99+pip-exe: msg-pip-exe
100+ $(error The '$(PIP)' command was not found)
101+else
102+pip-exe:
103+ @:
104+endif
105+
90106# ------------------------------------------------------------------------------
91107# commands
92108# ------------------------------------------------------------------------------