-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
41 lines (32 loc) · 1.08 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
.PHONY: install bro pub-dir pub-color pub-gris sub
PYTHON = python3
BIN = ./venv/bin
install:
${PYTHON} -m venv venv
${BIN}/pip install -U pip
${BIN}/pip install -e .
${BIN}/pip install -e .[services,hdf5,plugins,blosc2-plugins]
${BIN}/pip install -e .[clients]
${BIN}/pip install -e .[tests]
${BIN}/pip install pre-commit
#${BIN}/pip install -e ../jupyterlite/py/jupyterlite-core
#${BIN}/pip install -e ../jupyterlite/py/jupyterlite
assets:
rm caterva2/services/static/build/*
npm run build
git add caterva2/services/static/build/
bro:
${BIN}/python3 -m caterva2.services.bro
pub-dir:
${BIN}/python3 -m caterva2.services.pub --id dir
pub-color:
${BIN}/python3 -m caterva2.services.pub --id color
pub-gris:
${BIN}/python3 -m caterva2.services.pub --id gris
sub:
BLOSC_TRACE=1 ${BIN}/python3 -m caterva2.services.sub
lite:
rm .jupyterlite.doit.db caterva2/services/static/jupyterlite -rf
#${BIN}/pip install git+https://github.com/ironArray/jupyter-cat2cloud
#${BIN}/pip install -e ../jupyter-cat2cloud
${BIN}/jupyter lite build --output-dir caterva2/services/static/jupyterlite