Setting up PyPI publishing¶
To publish your package on PyPI requires a PyPI account and for PyPI to be setup for Trusted Publisher.
Gather the information¶
You will need the following information:
- Owner: The GitHub org that the repo is contained in, e.g.
kasi-x - Repository name: The GitHub repository name, e.g.
python-copier-template-example - PyPI Project Name: The distribution name on PyPI, e.g.
kasi-x-python-copier-template-example - Workflow name: The workflow that does publishing,
_pypi.ymlforpython-copier-templateprojects - Environment name: The GitHub environment that publishing is done with,
releaseforpython-copier-templateprojects
Publishing to PyPI¶
Use the above information in one of the following guides: