Skip to content

Get ready for PyPI - #62

Merged
arirusso merged 2 commits into
mainfrom
pypi-release
Dec 6, 2026
Merged

arirusso merged 2 commits into
mainfrom
pypi-release

Conversation

@arirusso

@arirusso arirusso commented Dec 6, 2026

Copy link
Copy Markdown
Owner

Prepares studio-agent for PyPI, ahead of making the repo public, so the README's install works on day one.

What changed

  • pyproject.toml: the README becomes the PyPI page (readme), plus project links, author, keywords and classifiers.
  • README: install is now uv tool install --python 3.14 "studio-agent[ocr]". uv fetches Python 3.14 if it's missing. Commands drop .venv/bin/, and the Claude Desktop config points at the path which studio-agent prints. Links are absolute GitHub URLs, since relative ones break on PyPI.
  • CONTRIBUTING: the clone install moved here, and there's a new Releasing section.
  • .github/workflows/publish.yml: publishing a GitHub release uploads to PyPI with trusted publishing. No token is stored anywhere.
  • CLAUDE.md, the guide, BACKLOG and HISTORY are updated to match.

How I checked it

  • The wheel builds, and twine check passes (it warned before, with no readme).
  • The wheel installs in a clean Python 3.14 venv; studio-agent --help and status work; metadata shows the links and text/markdown.
  • pytest: 222 passed.

Look closely at

  • The uv install path is untested: uv isn't installed on this machine.
  • The publish workflow can't run until it's set up on PyPI, and a version can't be reused once it's uploaded.
  • Links on PyPI and on the GitHub README 404 until the repo is public.

Left undone

  • The header image, waiting for approval.
  • Setup on PyPI (maintainer only): add a pending publisher for project studio-agent, owner arirusso, repo studio-agent, workflow publish.yml, environment pypi. Then publish a release tagged v0.1.0.

arirusso and others added 2 commits December 6, 2026 14:06
- pyproject.toml: README as the PyPI page, project links, author,
  keywords, classifiers.
- README: install with `uv tool install` (it fetches Python 3.14);
  absolute links, since relative ones break on PyPI.
- CONTRIBUTING: the clone install, and how to release.
- publish.yml: a GitHub release uploads to PyPI with trusted
  publishing, so no token is stored.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@arirusso
arirusso merged commit 0d97c73 into main Dec 6, 2026
1 check passed
@arirusso
arirusso deleted the pypi-release branch December 6, 2026 19:16
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