Guest User

Untitled

a guest
Apr 25th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. venv/bin/activate: requirements.txt
  2. test -f venv/bin/activate || virtualenv -p /usr/bin/python3 venv
  3. . venv/bin/activate ;\
  4. pip install -r requirements.txt
  5. touch venv/bin/activate # update so it's as new as requirements.txt
  6.  
  7. .PHONY: run
  8. run: venv/bin/activate
  9. . venv/bin/activate ; \
  10. python3 mycode.py
Add Comment
Please, Sign In to add comment