-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (30 loc) · 897 Bytes
/
Makefile
File metadata and controls
43 lines (30 loc) · 897 Bytes
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
LIVEBOOK = $(shell asdf where elixir)/.mix/escripts/livebook
test:
MIX_ENV=test mix test
coverage:
MIX_ENV=test mix coveralls.lcov
livebook_install:
mix escript.install hex livebook
mix escript.install github thmsmlr/livebook_tools
livebook:
$(LIVEBOOK) server --port 8723 examples/
.PHONY: test coverage livebook
# Python dependency management with UV (recommended)
python-setup:
./scripts/setup_python.sh
python-install-uv:
uv pip install --system -e .
python-install-requirements:
uv pip install --system -r requirements.txt
python-list:
uv pip list
python-freeze:
uv pip freeze > requirements.txt
python-test:
mix test --include python_validation
# Legacy Python venv commands (for compatibility)
python-venv:
python3 -m venv .venv
source .venv/bin/activate; pip install -r requirements.txt
python-install:
source .venv/bin/activate; pip install -r requirements.txt