Skip to content

Commit

Permalink
allow pip to be overriden in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-mcgann committed Aug 14, 2019
1 parent 431b64d commit 8e4d7e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
PIP=pip

clean:
rm -rf dist
rm -f cumulus-message-adapter.zip
Expand All @@ -6,7 +8,7 @@ dist:
mkdir -p dist

requirements: dist requirements.txt
pip install -r requirements.txt --target ./dist/
$(PIP) install -r requirements.txt --target ./dist/
find ./dist -type d -name '__pycache__' | xargs rm -rf
find ./dist/botocore/data -mindepth 1 -maxdepth 1 -type d |\
egrep -v '(stepfunctions|s3)' |\
Expand Down

0 comments on commit 8e4d7e1

Please sign in to comment.