Build and upload source distribution to pypi
- build sdist on every push
- upload on tag (job to be triggered manually)
To upload the sdist to PyPI, you should first create an API token: https://pypi.org/help/#apitoken
Then define TWINE_PASSWORD
as masked variable in GitLab CI/CD settings.
Regarding windows wheels, can we still use appveyor? Or should we try to build them with gitlab-ci as well?