-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (29 loc) · 841 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
34
35
36
help:
@echo " install"
@echo " Install project."
@echo " develop"
@echo " Install develop requirements and install project in develop mode."
@echo " clean-pyc"
@echo " Remove python artifacts."
@echo " clean-build"
@echo " Remove build artifacts."
@echo " clean"
@echo " Remove all artifacts."
@echo " test"
@echo " Run py.test"
install:
pip install -r requirements.txt
pip install .
develop:
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
clean-pyc:
find . -name '__pycache__' -exec rm -rf {} +
clean-build:
find . -name '.eggs' -exec rm -rf {} +
find . -name '*.egg-info' -exec rm -rf {} +
clean: clean-build clean-pyc
test: develop
python setup.py pytest
.PHONY: install develop clean-pyc clean-build clean test