Skip to content

Configure PyPI publishing settings in pyproject.toml#8

Merged
tylerpayne merged 2 commits into
mainfrom
claude/configure-pypi-publish
Apr 23, 2026
Merged

Configure PyPI publishing settings in pyproject.toml#8
tylerpayne merged 2 commits into
mainfrom
claude/configure-pypi-publish

Conversation

@tylerpayne

Copy link
Copy Markdown
Owner

Summary

Added PyPI publishing configuration to the project's pyproject.toml file to enable automated package distribution.

Changes

  • Added [tool.uvr.publish] configuration section with the following settings:
    • Set PyPI as the target index for package publishing
    • Configured PyPI environment for publishing
    • Enabled trusted publishing (using OIDC) for secure, keyless authentication
    • Initialized empty include/exclude lists for publish filtering

Details

This configuration enables the project to use trusted publishing via OpenID Connect (OIDC) for PyPI uploads, eliminating the need to manage and store PyPI API tokens. The trusted-publishing = "always" setting ensures that the publishing workflow will always attempt to use OIDC authentication when available.

https://claude.ai/code/session_01MAsYb1YVMUwXyuUsupdEW2

claude added 2 commits April 23, 2026 14:42
Adds [tool.uvr.publish] so the release workflow's publish job uploads
wheels to PyPI via OIDC trusted publishing. Requires a matching
'pypi' GitHub environment and a PyPI trusted publisher registration.
@tylerpayne tylerpayne merged commit e0a7854 into main Apr 23, 2026
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.

2 participants