arporter/habakkuk

Automate process of releasing to pypi

Closed this issue · 4 comments

Travis can automate the process of making a release to pypi.
In this issue we'll configure this project to make use of that functionality.

Since I've already done this for fparser, I've just copied the relevant part of the .travis.yml file.

My first attempt at tagging a release and pushing did not result in publication on pypi. But then, using twine or just setup.py didn't work either. I've discovered that I need to use https://upload.pypi.org/legacy/ because the infrastructure used by pypi is changing.

Hopefully I can fix this by adding server: https://upload.pypi.org/legacy/ under the deploy section in .travis.yml.

Enhancement merged to master. Closing issue.