arporter / habakkuk

Fortran code analysis for performance prediction
11 stars 0 forks source link

Automate process of releasing to pypi #25

Closed arporter closed 7 years ago

arporter commented 7 years ago

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.

arporter commented 7 years ago

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

arporter commented 7 years ago

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.

arporter commented 7 years ago

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

arporter commented 7 years ago

Enhancement merged to master. Closing issue.