add pip uninstall -y (#1041)
This avoids hanging in scripts if pip uninstall decides to ask for confirmation
This commit is contained in:
@@ -57,13 +57,14 @@ install-manpages: $(MANPAGES)
|
|||||||
|
|
||||||
install: install-mnexec install-manpages
|
install: install-mnexec install-manpages
|
||||||
# This seems to work on all pip versions
|
# This seems to work on all pip versions
|
||||||
$(PYTHON) -m pip uninstall mininet || true
|
$(PYTHON) -m pip uninstall -y mininet || true
|
||||||
$(PYTHON) -m pip install .
|
$(PYTHON) -m pip install .
|
||||||
|
|
||||||
develop: $(MNEXEC) $(MANPAGES)
|
develop: $(MNEXEC) $(MANPAGES)
|
||||||
# Perhaps we should link these as well
|
# Perhaps we should link these as well
|
||||||
install $(MNEXEC) $(BINDIR)
|
install $(MNEXEC) $(BINDIR)
|
||||||
install $(MANPAGES) $(MANDIR)
|
install $(MANPAGES) $(MANDIR)
|
||||||
|
$(PYTHON) -m pip uninstall -y mininet || true
|
||||||
$(PYTHON) -m pip install -e . --no-binary :all:
|
$(PYTHON) -m pip install -e . --no-binary :all:
|
||||||
|
|
||||||
man: $(MANPAGES)
|
man: $(MANPAGES)
|
||||||
|
|||||||
Reference in New Issue
Block a user