switch from Poetry to uv
This commit is contained in:
parent
ce525f2c7c
commit
b04996dff1
9 changed files with 704 additions and 100 deletions
16
run
16
run
|
|
@ -1,16 +1,12 @@
|
|||
#!/bin/sh -euf
|
||||
|
||||
here=$(dirname "$(realpath "$0")")
|
||||
|
||||
# cd "$here"
|
||||
|
||||
python_bin="$here"/.venv/bin/python
|
||||
project_dir=$(dirname "$(realpath "$0")")
|
||||
|
||||
[ -z "${DEBUG:-}" ] || set -x
|
||||
|
||||
# time python -m cProfile -s tottime -m metadex -n scan ~ >profile-scan.txt
|
||||
PYTHONPATH="$here" \
|
||||
"$python_bin" -m metadex \
|
||||
--db "$here/metadex.sqlite" \
|
||||
--ignore-from "$here/metadex.ignore" \
|
||||
"$@"
|
||||
exec uv --project "$project_dir" \
|
||||
run -m metadex \
|
||||
--db "$project_dir/metadex.sqlite" \
|
||||
--ignore-from "$project_dir/metadex.ignore" \
|
||||
"$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue