-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
25 lines (20 loc) · 950 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
help:
@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
env-create: ## (re)create a development environment using tox
tox -e devel --recreate
@echo -e "\r\nYou can activate the environment with:\r\n\r\n$$ source ./.tox/devel/bin/activate\r\n"
env-compile: ## compile requirements.txt / requirements-dev.txt using pip-tools
pip-compile --no-header --no-emit-trusted-host --output-file requirements.txt requirements.in
clean: ## clean
@rm -fr build/
clean-python:
@rm -fr .eggs/
@find . ! -path './.tox/*' -name '*.egg-info' -exec rm -fr {} +
@find . ! -path './.tox/*' -name '*.egg' -exec rm -f {} +
@find . ! -path './.tox/*' -name '*.pyc' -exec rm -f {} +
@find . ! -path './.tox/*' -name '*.pyo' -exec rm -f {} +
@find . ! -path './.tox/*' -name '*~' -exec rm -f {} +
@find . ! -path './.tox/*' -name '__pycache__' -exec rm -fr {} +
clean-all: clean-python clean ## clean all including tox
@rm requirements.txt
@rm -fr .tox/