Skip to content

Document installing FlowRoute from PyPI - #2

Merged
anorouzii merged 1 commit into
mainfrom
docs/pypi-install
Sep 13, 2026
Merged

anorouzii merged 1 commit into
mainfrom
docs/pypi-install

Conversation

@anorouzii

Copy link
Copy Markdown
Contributor

FlowRoute 0.2.0 is live at pypi.org/project/flowroute, so the docs should stop telling readers to install from a checkout.

The bug this fixes

The wheel ships the flowroute package and nothing else — no examples/, configs/, or training/. Every getting-started command assumed a clone, so a reader who followed pip install flowroute hit this on the first command in the quickstart:

FileNotFoundError: [Errno 2] No such file or directory: 'examples/workflows.yaml'

The quickstart now fetches the demo catalog from the v0.2.0 tag, and the paths that genuinely need a checkout — fixture evaluation, training scripts, docs build, [dev] — say so explicitly rather than failing silently.

Changes

  • README — PyPI version badge; quick start installs from PyPI and curls the catalog; [api]/[hf] extras use the published name; fixture-evaluation and training blocks state the clone requirement.
  • installation.md — PyPI is the default; a new From source section covers the clone workflow; Verify the install no longer runs PYTHONPATH=src python -m unittest, which only worked in a checkout.
  • quickstart.md — self-contained against a PyPI-only install.
  • index.md — install block on the docs home.
  • cli.md, http-api.md — published extras.
  • CHANGELOG — records the PyPI release under 0.2.0.

pip install -e ".[dev]" deliberately stays editable: it only makes sense from a clone.

Verified against the published package

Every documented command was run against a venv installed from the real index, not a local build:

Command Result
pip install flowroute 0.2.0, pip check clean
pip install "flowroute[api]" pulls FastAPI 0.141.1 + Uvicorn 0.52.4
curl -O .../v0.2.0/examples/workflows.yaml 200
flowroute route --catalog workflows.yaml ROUTEorders.get_status, ACCEPTED_LOW_RISK
flowroute --help lists all five subcommands
python -c "import flowroute; print(flowroute.__version__)" 0.2.0
mkdocs build --strict clean, #from-source anchor resolves

The quickstart catalog was also exercised for CLARIFY (MISSING_REQUIRED_INPUT) and LLM_REQUIRED (OPEN_ENDED_REASONING) to confirm it demonstrates all three outcomes.

🤖 Generated with Claude Code

The package is published, so `pip install flowroute` replaces the editable
install as the default path. Extras become `"flowroute[api]"` and
`"flowroute[hf]"`; `[dev]` stays editable because it only makes sense from a
clone.

The wheel ships the flowroute package alone — no examples/, configs/, or
training/. Every getting-started command previously assumed a checkout, so a
reader following the new install path hit FileNotFoundError on
examples/workflows.yaml at the first command. The quickstart now fetches the
demo catalog from the v0.2.0 tag, and the paths that genuinely need a
checkout (fixture evaluation, training scripts, docs build) say so.

Add a PyPI version badge and an install block on the documentation home.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@anorouzii
anorouzii merged commit 8f6be93 into main Sep 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant