Skip to content

Commit

Permalink
Support pypi.python.org for releases (dcantrell#37)
Browse files Browse the repository at this point in the history
I can now post releases of pyparted on pypi.python.org in addition to
github.com.  This makes it easier for people to do "pip install
pyparted" and get the latest release.
  • Loading branch information
dcantrell committed May 2, 2019
1 parent bd38967 commit 23f34d7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@ release: tag
@echo "$(PACKAGE)-$(VERSION) can be pushed to the git repo:"
@echo " git push && git push --tags"
@echo
@echo "*** Remember to run 'make pypi' afterwards ***"
@echo

pypi:
@echo "************************************************************************"
@echo "* Username and password are for your pypi.org login. *"
@echo "* NOTE: You must be a listed maintainer for pyparted for this to work. *"
@echo "************************************************************************"
@echo
twine upload --repository-url https://upload.pypi.org/legacy/ $(PACKAGE)-$(VERSION).tar.gz

rpmlog:
@prevtag="$$(git tag -l | grep -v "^start$$" | tail -n 2 | head -n 1)" ; \
Expand Down

0 comments on commit 23f34d7

Please sign in to comment.