summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-12-24 10:39:57 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-12-24 10:39:57 -0500
commit3ff583872ebb4069e8e6e2fa5b7b947acab42a1e (patch)
tree33c57a7e17314a0456c4c811e927e1ccdd242806
parentaad5a38525b36c7cd362261bcc44df202adbaf8b (diff)
downloadpython-coveragepy-git-3ff583872ebb4069e8e6e2fa5b7b947acab42a1e.tar.gz
Fix kit_local, pip config changed?
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ce265013..e90d55df 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,10 @@ kit_upload:
twine upload dist/*
kit_local:
- cp -v dist/* `awk -F "=" '/find-links/ {print $$2}' ~/.pip/pip.conf`
+ # pip.conf looks like this:
+ # [global]
+ # find-links = file:///Users/ned/Downloads/local_pypi
+ cp -v dist/* `awk -F "//" '/find-links/ {print $$2}' ~/.pip/pip.conf`
# pip caches wheels of things it has installed. Clean them out so we
# don't go crazy trying to figure out why our new code isn't installing.
find ~/Library/Caches/pip/wheels -name 'coverage-*' -delete