Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EMM
meteorolog
Commits
2b7a1855
Commit
2b7a1855
authored
Jul 02, 2015
by
labfis
Browse files
FIX: auto-search for pip binaries
parent
03e02771
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
2b7a1855
...
...
@@ -2,9 +2,6 @@ PYVER := 3
VENV
:=
.venv
INODIR
:=
.ino
PIP3
:=
pip-3.2
PIP2
:=
pip-2.7
all
:
help
help
:
...
...
@@ -66,8 +63,13 @@ uninstall: undeploy-logger clean-venv clean-ino
apt-install
:
sudo
apt-get
install
python python3 python3-pip supervisor python-pip
sudo
${PIP3}
install
virtualenv
sudo
${PIP2}
install
ino
@
echo
"Finding pip3 binary.."
$(
eval
PIP3 :
=
$(
shell
dpkg
-L
python3-pip |
tail
-1
))
@
echo
"PIP3=
$(PIP3)
"
$(
eval
PIP2 :
=
$(
shell
dpkg
-L
python-pip |
tail
-1
))
@
echo
"PIP2=
$(PIP2)
"
sudo
$(PIP3)
install
-v
virtualenv
sudo
$(PIP2)
install
-v
ino
setup
:
apt-install venv
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment