Commit 7facc3b9 authored by Nelso Jost's avatar Nelso Jost

FIX: better Makefile usage for install deps

parent 0674291b
...@@ -25,10 +25,20 @@ help: ...@@ -25,10 +25,20 @@ help:
@ echo " tail-data Follow updates on the last data log" @ echo " tail-data Follow updates on the last data log"
@ echo " plot col=x Uses Gnuplot to plot last data log col number x" @ echo " plot col=x Uses Gnuplot to plot last data log col number x"
deps: install-deb-deps:
sudo apt-get install python3 supervisor sudo apt-get install python3 supervisor
sudo -H python3 scripts/get-pip.py
sudo -H pip3 install virtualenv install-pip2:
curl https://bootstrap.pypa.io/get-pip.py | sudo python
install-pip3:
curl https://bootstrap.pypa.io/get-pip.py | sudo python3
install-ino:
sudo pip2 install ino
install-virtualenv:
sudo pip3 install virtualenv
apt-install: apt-install:
chmod +x scripts/apt-install.sh chmod +x scripts/apt-install.sh
...@@ -42,9 +52,9 @@ ino-install: ...@@ -42,9 +52,9 @@ ino-install:
chmod +x scripts/ino-install.sh chmod +x scripts/ino-install.sh
./scripts/ino-install.sh ./scripts/ino-install.sh
setup: setup clean-venv venv setup: install-deb-deps install-pip2 install-pip3 install-virtualenv install-ino venv
venv: venv: clean-venv
@ echo "-------------------------------------------------------" @ echo "-------------------------------------------------------"
virtualenv -v --python='${PYBIN}' ${VENVDIR} --no-site-packages virtualenv -v --python='${PYBIN}' ${VENVDIR} --no-site-packages
${VENVDIR}/bin/pip install -r logger/requirements.pip ${VENVDIR}/bin/pip install -r logger/requirements.pip
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment