ajout de l'exclusion des dépendances squeeze et suppression de restkit (savoir en...
[auf-django-sdk.git] / Makefile
CommitLineData
9db76584 1PIP_OPTIONS := --extra-index-url=https://pypi.auf.org/
03a24069 2FREEZE_OPTIONS := --exclude django --exclude-requirements seeds/squeeze.txt
cc6471b6 3TARGET := django_auf django_auf_common django_auf_dev #django_14 squeeze wheezy
9db76584
PH
4
5all: $(TARGET)
6
7requirements/%.txt: seeds/%.txt
8 mkdir -p requirements/
03a24069 9 freeze-requirements freeze $< -m $@ $(FREEZE_OPTIONS)
9db76584 10
cc6471b6
PH
11sdk/%: requirements/%.txt
12 pip install -r $< -t $@ $(PIP_OPTIONS) --no-deps
9db76584 13 # FIXME
7e066af7
PH
14 touch sdk/auf/auf/__init__.py || true
15 touch sdk/auf/auf/django/__init__.py || true
9db76584 16
cc6471b6
PH
17%: sdk/%
18 mkdir -p sdk/
19
20.PRECIOUS: requirements/%.txt sdk/%
9db76584
PH
21
22clean:
23 rm -rf sdk/
24
25.PHONY: all clean