]> arthur.barton.de Git - netdata.git/commitdiff
simple pip wrapper script
authorpaulfantom <paulfantom@gmail.com>
Mon, 20 Jun 2016 11:50:24 +0000 (13:50 +0200)
committerpaulfantom <paulfantom@gmail.com>
Mon, 20 Jun 2016 11:50:24 +0000 (13:50 +0200)
python.d/pip_install.sh [new file with mode: 0644]

diff --git a/python.d/pip_install.sh b/python.d/pip_install.sh
new file mode 100644 (file)
index 0000000..2607861
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+PIP=`which pip`
+
+$PIP install --target="python_modules" yaml
+
+$PIP install --target="python_modules" MySQL-python || echo "You need to install libmysqlclient-dev and python-dev"