-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathMakefile
60 lines (45 loc) · 1.13 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
all: clean build
clean:
-$(RM) -rf dist
-$(RM) -rf build
-$(RM) -rf pybot.egg-info
-$(RM) -rf cmake_build
-$(RM) -f .env
find . | grep '\.so' | xargs echo
clean-wheel:
-$(RM) -rf dist
-$(RM) -rf build
-$(RM) -rf pybot.egg-info
python-develop:
python setup.py develop
python-build:
python setup.py sdist
python setup.py bdist_wheel
python-install:
python setup.py install
python-wheel:
python setup.py bdist_wheel
python-dev-build:
python setup.py build_ext --inplace
conda-build:
conda build tools/conda.recipe
conda-install-runtime:
conda create -q -n pybot-runtime-env -y
conda install -c s_pillai pybot -n pybot-runtime-env -y
docker-build-condaruntime:
docker build -t pybot-runtime:latest \
-f tools/docker/Dockerfile.runtime .
docker-run-condaruntime:
docker run -it --rm --name pybot-runtime \
pybot-runtime:latest \
/bin/bash
docker-build-condabuild:
docker build -t pybot-build:latest \
-f tools/docker/Dockerfile.build .
docker-run-condabuild:
docker run -it --rm --name pybot-build \
pybot-build:latest \
/bin/bash
docker-push:
docker tag pybot:latest
docker push pybot:latest