Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #921 from cderici/cleanup-release-process
#921 #### Description This fixes up some of the bumps in the release process (`make release`). - Twine complains about the long_description content type not being set, so this adds `long_description_content_type` in the `setup.py` - There's a section named `note::` in the readme, apparently that's not a thing in the earlier versions of sphinx, so this removes it. - twine uses the username/password when it's called with `--repository-url https://upload.pypi.org/legacy/` parameter, which is not anymore a thing (at least for our project), so we're using `.pypirc` with tokens (as described in the release document for pylibjuju), so this changes twine call to use ` --repository juju`, which is simply a reference to the entry in the `.pypirc`. #### QA Steps No QA needed. #### Notes & Discussion When forward ported, the `docs/changelog.rst` in the master branch needs to be fixed (for sections/subsections). Just call and you'll see the error: ```sh .tox/py3/bin/python3 setup.py sdist && twine check dist/* ```
- Loading branch information