Created
December 17, 2014 10:53
-
-
Save poying/d9d3eb3cba12148d85ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PM := python_modules | |
CMD := docker run --rm -it -w /app -v $(shell pwd):/app \ | |
-e PYTHONPATH=/app/$(PM)/lib/python3.4/site-packages python:3.4.2 | |
init: | |
@mkdir -p $(PM) | |
@$(CMD) pip install --install-option="--prefix=/app/$(PM)" -r ./requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment