summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2016-01-28 09:05:41 -0500
committerrsiddharth <rsd@gnu.org>2016-01-28 09:05:41 -0500
commit32a8289f1ff5d04fa9ee20456c625d8c19ceb9cd (patch)
treeeaf07bf8bba4684f2fe6f6cbdb9d45c0b0739bed /Makefile
parente796cc5eb657711c426aa06e21f3601af5a05f6f (diff)
Makefile: Added new targets
- clean-pyc - egg
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9d9a7d2..fba5e52 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,9 @@ test:
build-dist:
@python setup.py sdist bdist_wheel
+egg:
+ @python setup.py egg_info
+
upload:
@twine upload -r pypi -s -i rsd@gnu.org dist/*.tar.gz
@twine upload -r pypi -s -i rsd@gnu.org dist/*.whl
@@ -32,5 +35,8 @@ clean-build:
@rm -rf dist/
@rm -rf *.egg-info
-.PHONY: dist clean-build upload build-dist
+clean-pyc:
+ @find . -name '*.pyc' -exec rm -f {} +
+
+.PHONY: dist clean-build upload build-dist egg clean-pyc