Closed mikegerber closed 1 year ago
0.0.4 is now available on PyPI for testing → https://pypi.org/project/setuptools-ocrd/
👀 @kba
Metadata looks ok now on PyPI. I removed the extra license field from pyproject.toml
as https://packaging.python.org/en/latest/specifications/core-metadata/#core-metadata-license says, that the classifiers should be used instead. The LICENSE
file stays, just in case.
Now publishing to PyPI with a GitHub Action. This works really really well and elegantly (e.g. using trusted publishing for the credentials).
More info on Trusted publishing (= GitHub using OIDC to authenticate with PyPI + authorizing GitHub Actions to publish a certain package "from" a specific GitHub repo):
https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
Making the workflow reusable for e.g. dinglehopper is blocked by external issues, I opened #9 for this.
GitHub and PyPI releases are now created by the same GH workflow (release.yml
) and share building and testing.
Testing is just a dummy test, see #6 in the future.
Make workflow reusable - Could use the same workflow for dinglehopper