Skip to content

Instantly share code, notes, and snippets.

@poying
Created December 17, 2014 10:53
Show Gist options
  • Save poying/d9d3eb3cba12148d85ca to your computer and use it in GitHub Desktop.
Save poying/d9d3eb3cba12148d85ca to your computer and use it in GitHub Desktop.
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