IEAWindTask37 / windIO

Apache License 2.0
19 stars 11 forks source link

Build and upload package to PyPI on release #22

Closed rafmudaf closed 8 months ago

rafmudaf commented 8 months ago

This pull request adds the GitHub Actions job to build and upload a source and binary distribution to PyPI. This is taken directly from the FLORIS repository. It runs after a GitHub Release is published. Note that this does not publish to conda-forge. However, users who leverage conda in their Python workflows can easily install from PyPI, but this is not true the other way around.

This functionality requires someone to be the admin of the PyPI listing. In order for this to complete successfully, the admin must provide their PyPI login information (username and password) via the GitHub Actions secrets.

This pull request addresses #19.

ptrbortolotti commented 8 months ago

thank you, I'm happy to merge it asap!

ptrbortolotti commented 8 months ago

I'm the PyPI admin