Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
adding stats badge, publish makefile commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisonleao committed Mar 1, 2020
1 parent f114d86 commit ca1d586
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ clean-pyc:
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +

.PHONY: dist
dist:
@pip install twine
@python setup.py sdist

.PHONY: upload-test
upload-test: dist
@python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*

upload: dist
@python -m twine upload dist/*


.PHONY: clean-pyc clean-build clean
clean: clean-build clean-pyc
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<p align="center">
   <a href="https://github.com/ellisonleao/pyshorteners/actions"><img src="https://github.com/ellisonleao/pyshorteners/workflows/build/badge.svg" alt="Travis"/></a>
   <a href="https://saythanks.io/to/ellisonleao"><img src="https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg" alt=""/></a>
   <a href="https://pyshorteners.readthedocs.io/en/latest/"><img src="https://img.shields.io/pypi/dw/pyshorteners.svg" alt="Download stats"/></a>
</p>

A simple URL shortening API wrapper Python library.
Expand Down

0 comments on commit ca1d586

Please sign in to comment.