Commit a2c0c8c81640d130919c3b1ec0288c57d2083e14
1 parent
b92c96c6
Exists in
master
and in
1 other branch
Update Makefile
- Bump colab-deps package version to 1.11 - Add 'downloadtar' target (download tarball or wheels dependencies) - Remove dependency on pip-1.5.6 - Use *.whl instead of *.zip in source Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com> Signed-off-by: Lucas Moura <lucas.moura128@gmail.com>
Showing
1 changed file
with
5 additions
and
3 deletions
Show diff stats
Makefile
| 1 | 1 | NAME = colab-deps |
| 2 | -VERSION = 1.10 | |
| 2 | +VERSION = 1.11 | |
| 3 | 3 | PREFIX = /usr |
| 4 | 4 | TARGET = $(DESTDIR)$(PREFIX)/lib/colab |
| 5 | 5 | |
| ... | ... | @@ -7,13 +7,12 @@ all: |
| 7 | 7 | rm -rf ./build |
| 8 | 8 | virtualenv ./build |
| 9 | 9 | ./build/bin/pip install --no-index --find-links=$(CURDIR) -r requirements.txt |
| 10 | - ./build/bin/pip install pip-1.5.6.tar.gz | |
| 11 | 10 | virtualenv --relocatable ./build |
| 12 | 11 | |
| 13 | 12 | clean: |
| 14 | 13 | $(RM) -r ./build |
| 15 | 14 | |
| 16 | -SOURCES = Makefile requirements.txt *.tar.* *.zip | |
| 15 | +SOURCES = Makefile requirements.txt *.tar.* *.whl | |
| 17 | 16 | |
| 18 | 17 | install: |
| 19 | 18 | mkdir -p $$(dirname $(TARGET)) |
| ... | ... | @@ -35,3 +34,6 @@ $(TARBALL): |
| 35 | 34 | |
| 36 | 35 | distclean: |
| 37 | 36 | $(RM) -r $$(dirname $(TARBALL)) |
| 37 | + | |
| 38 | +downloadtar: | |
| 39 | + pip install --download $(CURDIR) -r requirements.txt | ... | ... |