-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (32 loc) · 1.22 KB
/
Makefile
File metadata and controls
41 lines (32 loc) · 1.22 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
build: setup-venv
venv/bin/pip install docopt==0.6.2 python-dateutil==2.4.2 PyYAML==3.11 requests==2.5.1 git+https://github.com/pyinstaller/pyinstaller@7413317 tabulate==0.7.4 termcolor==1.1.0
venv/bin/pyinstaller deis.spec
chmod +x dist/deis
# Install deis client locally through pip.
install:
pip install .
# Remove the installed copy of the deis client through pip.
uninstall:
pip uninstall -y deis
# Clean up after setup.py droppings.
clean:
rm -rf build/ dist/ *.egg-info
client:
pyinstaller deis.spec
installer: build
@if [ ! -d makeself ]; then git clone -b single-binary https://github.com/deis/makeself.git; fi
PATH=./makeself:$$PATH BINARY=deis makeself.sh --bzip2 --current --nox11 dist \
dist/deis-cli-`grep '__version__\ =\ ' deis.py | cut -d' ' -f3 | tr -d \'`-`go env GOOS`-`go env GOARCH`.run \
"Deis CLI" "echo \
&& echo '\033[0;36mdeis\033[0m is in the current directory. Please' \
&& echo 'move \033[0;36mdeis\033[0m to a directory in your search PATH.' \
&& echo \
&& echo 'See http://docs.deis.io/ for documentation.' \
&& echo"
setup-venv:
@if [ ! -d venv ]; then virtualenv venv; fi
venv/bin/pip install -q flake8==2.4.0
test-style: setup-venv
venv/bin/flake8
test-unit:
@echo no unit tests