From f8e54cad476f552834c2c804da6b279a60d8aa15 Mon Sep 17 00:00:00 2001 From: lantz Date: Tue, 9 Feb 2021 10:55:45 -0800 Subject: [PATCH] add pip uninstall -y (#1041) This avoids hanging in scripts if pip uninstall decides to ask for confirmation --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a608bac..ec89aa1 100644 --- a/Makefile +++ b/Makefile @@ -57,13 +57,14 @@ install-manpages: $(MANPAGES) install: install-mnexec install-manpages # 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 . develop: $(MNEXEC) $(MANPAGES) # Perhaps we should link these as well install $(MNEXEC) $(BINDIR) install $(MANPAGES) $(MANDIR) + $(PYTHON) -m pip uninstall -y mininet || true $(PYTHON) -m pip install -e . --no-binary :all: man: $(MANPAGES)