CI: Add continuous delivery (packaging and uploading to PyPI)
This MR adds the new stages package
and upload
to the CI pipeline. The upload
job is only performed for Version-Tags (vX.X.X
), which are protected in GitLab to be only created by Maintainers.
Additionally, this MR fixes the setup.py
to exclude the tests from the distribution package.