Skip to content

Commit

Permalink
Makefile: Allow to use another pip than the system one
Browse files Browse the repository at this point in the history
When installing buildbot in a not-activated virtualenv, it comes handy to define PIP before calling make frontend.
  • Loading branch information
benallard committed Oct 19, 2014
1 parent dbf1e66 commit e58c9cd
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Makefile
Expand Up @@ -2,6 +2,8 @@

.PHONY: docs apidocs pylint

PIP?=pip

docs:
$(MAKE) -C master/docs

Expand All @@ -20,13 +22,13 @@ pep8:
pep8 --config=common/pep8rc master/buildbot slave/buildslave www/*/buildbot_*/ www/*/setup.py

frontend:
pip install -e pkg
pip install mock
for i in www/*/; do pip install -e $$i ; done
$(PIP) install -e pkg
$(PIP) install mock
for i in www/*/; do $(PIP) install -e $$i ; done

frontend_install_tests:
pip install -e pkg
pip install mock wheel
$(PIP) install -e pkg
$(PIP) install mock wheel
trial pkg/test_buildbot_pkg.py

rmpyc:
Expand Down

0 comments on commit e58c9cd

Please sign in to comment.