From 28226bc1dab95e4bf9d0cdf2be4bba06b8ef0d74 Mon Sep 17 00:00:00 2001 From: Viacheslav Greshilov Date: Tue, 17 May 2022 23:00:47 +0300 Subject: [PATCH] Fix pip reinstallation on windows due to constraints --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 57b3601d24d..3620de4361f 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ endif @python -m pip install --upgrade pip .install-cython: .update-pip $(call to-hash,requirements/cython.txt) - @pip install -r requirements/cython.txt -c requirements/constraints.txt + @python -m pip install -r requirements/cython.txt -c requirements/constraints.txt @touch .install-cython aiohttp/_find_header.c: $(call to-hash,aiohttp/hdrs.py ./tools/gen.py) @@ -74,7 +74,7 @@ generate-llhttp: .llhttp-gen cythonize: .install-cython $(PYXS:.pyx=.c) .install-deps: .install-cython $(PYXS:.pyx=.c) $(call to-hash,$(CYS) $(REQS)) - @pip install -r requirements/dev.txt -c requirements/constraints.txt + @python -m pip install -r requirements/dev.txt -c requirements/constraints.txt @touch .install-deps .PHONY: lint @@ -89,7 +89,7 @@ mypy: mypy .develop: .install-deps generate-llhttp $(call to-hash,$(PYS) $(CYS) $(CS)) - pip install -e . -c requirements/constraints.txt + python -m pip install -e . -c requirements/constraints.txt @touch .develop .PHONY: test @@ -189,7 +189,7 @@ compile-deps: .update-pip $(REQS) .PHONY: install install: .update-pip - @pip install -r requirements/dev.txt -c requirements/constraints.txt + @python -m pip install -r requirements/dev.txt -c requirements/constraints.txt .PHONY: install-dev install-dev: .develop