From ca1d586e5e341a182d33618cc86f2879d8d6e0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ellison=20Lea=CC=83o?= Date: Sun, 1 Mar 2020 18:19:34 -0300 Subject: [PATCH] adding stats badge, publish makefile commands --- Makefile | 12 ++++++++++++ README.md | 1 + 2 files changed, 13 insertions(+) diff --git a/Makefile b/Makefile index dc3b573..9508796 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index 9a8956b..b4e1a8e 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@

   Travis     +    Download stats

A simple URL shortening API wrapper Python library.