Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.13
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ These become structured decision records, queryable by Claude Code via `get_why(
pip install repowise
```

Or install the CLI into an isolated uv-managed environment:

```bash
uv tool install repowise
```

### Single repo

```bash
Expand Down Expand Up @@ -594,8 +600,22 @@ Full configuration reference: [docs/CONFIG.md](docs/CONFIG.md)
```bash
git clone https://github.com/repowise-dev/repowise
cd repowise
pip install -e "packages/core[dev]"
pytest tests/unit/
uv sync --all-packages
uv run repowise --version
uv run pytest tests/unit/
```

Run commands through uv without activating the environment:

```bash
uv run repowise --help
```

Or activate the local environment created by `uv sync`:

```bash
source .venv/bin/activate
repowise --help
```

Full guide including how to add languages and LLM providers: [CONTRIBUTING.md](CONTRIBUTING.md)
Expand Down
11 changes: 11 additions & 0 deletions docs/USER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ repowise --version
repowise --help
```

### From Source with uv

For local development, use the workspace lockfile from the repository root:

```bash
git clone https://github.com/repowise-dev/repowise.git
cd repowise
uv sync --all-packages
uv run repowise --version
```

---

## Getting Started
Expand Down
30 changes: 16 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,19 @@ dev = [
"build>=1.0",
]

[dependency-groups]
dev = [
"pytest>=8,<9",
"pytest-asyncio>=0.23,<1",
"pytest-snapshot>=0.9,<1",
"respx>=0.21,<1",
"time-machine>=2.14,<3",
"ruff>=0.6,<1",
"mypy>=1.11,<2",
"types-networkx>=3.3,<4",
"httpx>=0.27,<1",
]

[project.scripts]
repowise = "repowise.cli.main:cli"

Expand All @@ -133,8 +146,10 @@ packages = [
"repowise.core.generation",
"repowise.core.generation.editor_files",
"repowise.core.ingestion",
"repowise.core.ingestion.parsers",
"repowise.core.ingestion.dynamic_hints",
"repowise.core.ingestion.extractors",
"repowise.core.ingestion.languages",
"repowise.core.ingestion.resolvers",
"repowise.core.pipeline",
"repowise.core.persistence",
"repowise.core.providers",
Expand Down Expand Up @@ -166,19 +181,6 @@ members = [
"packages/server",
]

[tool.uv]
dev-dependencies = [
"pytest>=8,<9",
"pytest-asyncio>=0.23,<1",
"pytest-snapshot>=0.9,<1",
"respx>=0.21,<1",
"time-machine>=2.14,<3",
"ruff>=0.6,<1",
"mypy>=1.11,<2",
"types-networkx>=3.3,<4",
"httpx>=0.27,<1",
]

# ---------------------------------------------------------------------------
# Ruff — linter + formatter
# ---------------------------------------------------------------------------
Expand Down