- Bump the version in
setup.py
$ git tag x.y.z -m "..."
- To see the versions
$ git tag
$ git push --tags origin master
$ pipenv run python setup.py sdist --dist-dir dist
$ pipenv run twine upload --repository-url https://test.pypi.org/legacy/ dist/name-of-the-package-x.y.z.tar.gz
$ pipenv run twine upload --repository-url https://upload.pypi.org/legacy/ dist/name-of-the-package-x.y.z.tar.gz
https://github.com/marius92mc/github-stargazers/blob/master/setup.py
Source
It is up-to-date only until License section. http://peterdowns.com/posts/first-time-with-pypi.html
pip install -U https://github.com/marius92mc/github-stargazers/archive/master.zip
Installs the version from latest master branch, by installing the zip file github provides.
Instead of pip probably it works with pipenv too.