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

Commit ca1d586

Browse files
committed
adding stats badge, publish makefile commands
1 parent f114d86 commit ca1d586

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@ clean-pyc:
2424
find . -name '*~' -exec rm -f {} +
2525
find . -name '__pycache__' -exec rm -fr {} +
2626

27+
.PHONY: dist
28+
dist:
29+
@pip install twine
30+
@python setup.py sdist
31+
32+
.PHONY: upload-test
33+
upload-test: dist
34+
@python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
35+
36+
upload: dist
37+
@python -m twine upload dist/*
38+
2739

2840
.PHONY: clean-pyc clean-build clean
2941
clean: clean-build clean-pyc

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<p align="center">
99
   <a href="https://github.com/ellisonleao/pyshorteners/actions"><img src="https://github.com/ellisonleao/pyshorteners/workflows/build/badge.svg" alt="Travis"/></a>
1010
   <a href="https://saythanks.io/to/ellisonleao"><img src="https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg" alt=""/></a>
11+
   <a href="https://pyshorteners.readthedocs.io/en/latest/"><img src="https://img.shields.io/pypi/dw/pyshorteners.svg" alt="Download stats"/></a>
1112
</p>
1213

1314
A simple URL shortening API wrapper Python library.

0 commit comments

Comments
 (0)