-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathMakefile
27 lines (20 loc) · 998 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
.PHONY: clean data
#################################################################################
# GLOBALS #
#################################################################################
PROJECT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
BUCKET = [OPTIONAL] your-bucket-for-syncing-data (do not include 's3://')
PROFILE = default
PROJECT_NAME = Bayesian-Workflow-with-PyMC
PYTHON_INTERPRETER = python3
#################################################################################
# COMMANDS #
#################################################################################
## Make Dataset
data:
$(PYTHON_INTERPRETER) src/data/make_data.py
$(PYTHON_INTERPRETER) src/data/process_data.py
## Delete all compiled Python files
clean:
find . -type f -name "*.py[co]" -delete
find . -type d -name "__pycache__" -delete