Skip to content

PyPI

Uploads source distributions and wheels to the Python Package Index via twine.

Configuration

No additional configuration options.

Environment Variables

NameDescription
TWINE_USERNAMEPyPI username with access rights
TWINE_PASSWORDPyPI password
TWINE_BINPath to twine. Default: twine

Example

targets:
- name: pypi

Sentry Internal PyPI

For Sentry’s internal PyPI, use the sentry-pypi target which creates a PR to import the package:

targets:
- name: pypi
- name: sentry-pypi
internalPypiRepo: getsentry/pypi

Sentry PyPI Configuration

OptionDescription
internalPypiRepoGitHub repo containing pypi metadata

Sentry PyPI Environment

NameDescription
GITHUB_TOKENGitHub API token