-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
46 lines (33 loc) · 859 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
37
38
39
40
41
42
43
44
45
46
default: pytest
# default: pylint pytest
# pylint:
# find . -iname "*.py" -not -path "./tests/test_*" | xargs -n1 -I {} pylint --output-format=colorized {}; true
pytest:
echo "no tests"
# ----------------------------------
# LOCAL SET UP
# ----------------------------------
install_requirements:
@pip install -r requirements.txt
# ----------------------------------
# HEROKU COMMANDS
# ----------------------------------
streamlit:
-@streamlit run app.py
streamlit-dev:
-@streamlit run app.py --server.port=8501
streamlit_test:
-@streamlit run test.py
# ----------------------------------
# LOCAL INSTALL COMMANDS
# ----------------------------------
install:
@pip install . -U
clean:
@rm -fr */__pycache__
@rm -fr __init__.py
@rm -fr build
@rm -fr dist
@rm -fr *.dist-info
@rm -fr *.egg-info
-@rm model.joblib