simple pip wrapper script
paulfantom committed
Jun 20, 2016 at 13:50 UTC
43b48278ca80bc18053ab7eab48f1e2a2bf22ef0
1 file changed
+7
python.d/pip_install.sh
new
+7
@@ -0,0 +1,7 @@
1
+#!/bin/bash
2
+
3
+PIP=`which pip`
4
+
5
+$PIP install --target="python_modules" yaml
6
+
7
+$PIP install --target="python_modules" MySQL-python || echo "You need to install libmysqlclient-dev and python-dev"