Isort: Automatic deployment to pypi

Created on 18 Jan 2019  路  2Comments  路  Source: PyCQA/isort

I think it would be a good idea to build into Travis-CI deploying to pypi. This would prevent issues like #760 from occurring.

The guide looks fairly simple and would require @timothycrosley to encrypt the pypi credentials in the config file.
https://docs.travis-ci.com/user/deployment/pypi/

Most helpful comment

Thanks for the assistance! Using these pages as guides, isort now has auto deploy setup.

Thanks!

~Timothy

All 2 comments

Here's an example (https://github.com/pylast/pylast/pull/295):

https://github.com/pylast/pylast/blob/a5c53dbf5402535ca79c66cebe1ca1e1a3dc7baa/.travis.yml#L47-L70

It has two deploys:

  • tagged commits deploy to the main pypi.org
  • untagged commits deploy to test.pypi.org

For both, it only does it for builds to the pylast/pylast main repo (no forks), on the master branch (no feature branches), and for a single build job (py37, no duplicates).

Thanks for the assistance! Using these pages as guides, isort now has auto deploy setup.

Thanks!

~Timothy

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akaihola picture akaihola  路  3Comments

peteboothroyd picture peteboothroyd  路  3Comments

ghickman picture ghickman  路  3Comments

donjar picture donjar  路  3Comments

ionelmc picture ionelmc  路  3Comments