switched to uv
This commit is contained in:
@@ -12,15 +12,10 @@
|
||||
# ./email-processor.sh review accept # accept all suggestions
|
||||
# ./email-processor.sh stats # show history stats
|
||||
#
|
||||
# Requires: Python 3.8+, himalaya, Ollama running with model.
|
||||
# Requires: uv, himalaya, Ollama running with model.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
|
||||
# Activate the virtualenv if it exists
|
||||
if [ -d "$SCRIPT_DIR/venv" ]; then
|
||||
source "$SCRIPT_DIR/venv/bin/activate"
|
||||
fi
|
||||
|
||||
exec python3 "$SCRIPT_DIR/main.py" "$@"
|
||||
exec uv run --project "$SCRIPT_DIR" python "$SCRIPT_DIR/main.py" "$@"
|
||||
|
||||
Reference in New Issue
Block a user