hookmeup

A Git hook to automate your Pipenv and Django workflow
git clone git://git.danielmoch.com/hookmeup.git
Log | Files | Refs | README | LICENSE

commit 3573c262e9e33c132a5efbc480abb83efd34e2ec
parent 25b10f3053b774f4531729f0ae1cec44f9032a41
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sat, 15 Sep 2018 13:52:11 -0400

Use python -m pip for upgrades

Diffstat:
MMakefile | 2+-
Mmake.bat | 3+--
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -66,7 +66,7 @@ test-all: ## run tests on every Python version with tox $(PIPRUN) tox test-install: ## install dependenices from Pipfile (for tox / CI builds) - $(PIP) install --upgrade pip pipenv + $(PYTHON) -m $(PIP) install --upgrade pip pipenv $(PIPINST) coverage: ## check code coverage quickly with the default Python diff --git a/make.bat b/make.bat @@ -31,7 +31,6 @@ if "%PYTHON%"=="" ( set "PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%" set PYTHON=python ) -set PIP=pip set PIPENV=pipenv set PIPRUN=%PIPENV% run set PIPINST=%PIPENV% --bare install --dev --skip-lock @@ -87,7 +86,7 @@ if "%1" == "test-all" ( if "%1" == "test-install" ( @echo on - %PIP% install --upgrade pip pipenv + %PYTHON% -m %PIP% install --upgrade pip pipenv %PIPINST% @echo off goto :end