forked from silviapfeiffer/physio-rom
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
33 lines (28 loc) · 838 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Python Project Makefile
# Authors: Aqeel Akber <[email protected]>
#
# This is predominately used to ease / speed up development.
env:
virtualenv env
@echo "------------------------------------------------------------------------"
@echo "FINISHED INITIALISING PYTHON VIRTUAL ENVIRONMENT"
@echo
@echo "To use it, run:"
@echo
@echo ". env/bin/activate"
@echo "## Optionally, make IPython use right env"
@echo "alias ipy=\"python -c 'import IPython; IPython.terminal.ipapp.launch_new_instance()'\""
@echo
@echo "When finished, run:"
@echo
@echo "deactivate"
@echo "unalias ipy # optional"
@echo "------------------------------------------------------------------------"
getreqs:
pip install -r requirements.txt
freeze:
pip freeze > requirements_freeze.txt
test:
pytest tests
.PHONY:
env getreqs freeze test