switched to uv

This commit is contained in:
Yanxin Lu
2026-02-27 07:34:07 -08:00
parent e8c8256967
commit cf115bb48a
7 changed files with 12 additions and 22 deletions

View File

@@ -4,11 +4,14 @@ Learning-based mailbox cleanup using Himalaya (IMAP) + Ollama (local LLM). Class
## Prerequisites
- **uv** — Python package manager, handles venv and dependencies automatically.
- **Himalaya** — CLI email client, handles IMAP connection and auth.
- **Ollama** — local LLM server.
- **Python 3.8+**
```bash
# Install uv (macOS)
brew install uv
# Install himalaya (macOS)
brew install himalaya
@@ -18,12 +21,6 @@ himalaya account list # should show your account after setup
# Install and start Ollama, pull the model
brew install ollama
ollama pull kamekichi128/qwen3-4b-instruct-2507:latest
# Set up Python venv and install dependencies
cd scripts/email_processor
python3 -m venv venv
source venv/bin/activate
pip install ollama
```
## How It Works