cookiecutter-data-science/{{ cookiecutter.repo_name }}/Makefile

17 lines
385 B
Makefile
Raw Normal View History

2015-10-30 13:05:08 -07:00
.PHONY: clean data requirements sync_data_to_s3 sync_data_from_s3
2015-10-30 12:09:43 -07:00
2015-10-30 13:05:08 -07:00
requirements:
pip install -r requirements.txt
data: requirements
2015-10-30 12:09:43 -07:00
python src/make_dataset.py
clean:
find . -name "*.pyc" -exec rm {} \;
sync_data_to_s3:
s3cmd sync --recursive data/ s3://{{ cookiecutter.s3_bucket }}/data/
sync_data_from_s3:
s3cmd sync --recursive s3://{{ cookiecutter.s3_bucket }}/data/ data/