impresso / impresso-text-acquisition

🛠️ Python library to import OCR data in various formats into the canonical JSON format defined by the Impresso project.
https://impresso.github.io/impresso-text-acquisition/
GNU Affero General Public License v3.0
7 stars 2 forks source link

[CI-CD] Create GH Actions for releases and uploading package to Pypi #128

Open piconti opened 6 months ago

piconti commented 6 months ago

In order to ensure the new version of this package is correctly packages into a release and uploaded to Pypi at each pull request, it would be ideal to create GitHub actions for this.

A GitHug action to upload the package to Test Pypi will already be added very soon, but it would be ideal to extend this behavior to releases and actual Pypi.

Information and resources on how to do this are widely accessible, and the following were used to greate the GitHub actions for Test Pypi and are linked here for future reference: Example of yml file Creating distribution archives How to publish a python package from Github actions Quickstart for GitHub Actions

The action points to do this are: