wip
This commit is contained in:
commit
d7800f4d82
12 changed files with 378 additions and 0 deletions
30
python/justfile
Normal file
30
python/justfile
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
set working-directory := '..'
|
||||
set export
|
||||
set shell := ["bash", "-uc"]
|
||||
|
||||
|
||||
venv:
|
||||
#!/usr/bin/env bash
|
||||
[ -d .venv ] || uv venv
|
||||
[ -f requirements.txt ] && uv pip install -r requirements.txt
|
||||
source .venv/bin/activate
|
||||
|
||||
clean:
|
||||
rm -rf .venv
|
||||
rm -rf **/*/__pycache__
|
||||
rm -rf **/*/*.pyc
|
||||
rm -rf **/*/*.pyo
|
||||
|
||||
install: venv
|
||||
#!/usr/bin/env bash
|
||||
uv pip install .
|
||||
|
||||
check: venv
|
||||
#!/usr/bin/env bash
|
||||
which python
|
||||
|
||||
ipython: venv
|
||||
uv run ipython
|
||||
|
||||
install-uv:
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue