-
Notifications
You must be signed in to change notification settings - Fork 25
/
Makefile
41 lines (31 loc) · 968 Bytes
/
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
start-jupyter-lab:
pdm run jupyter lab
plotly-jupyter-lab-support:
# JupyterLab renderer support
jupyter labextension install [email protected]
# OPTIONAL: Jupyter widgets extension
jupyter labextension install @jupyter-widgets/jupyterlab-manager [email protected]
lock-py38:
pdm lock \
-G compat -G extension-backend-ray \
--python="==3.8.*" \
--lockfile pdm-py38.lock
lock-py39+:
pdm lock \
-G compat -G extension-backend-ray \
--python=">=3.9" \
--lockfile pdm.lock
lock: lock-py38 lock-py39+
install-py38:
pdm install --lockfile pdm-py38.lock
install-py39+:
pdm install --lockfile pdm.lock
test:
pdm run pytest tests
coverage:
pdm run pytest tests --cov=radcad
pdm run coveralls
profile-memory-radcad:
pdm run mprof run --include-children benchmarks/benchmark_memory_radcad.py && pdm run mprof plot
profile-memory-cadcad:
pdm run mprof run --include-children benchmarks/benchmark_memory_cadcad.py && pdm run mprof plot