summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2017-02-18 00:45:20 +0000
committerrsiddharth <s@ricketyspace.net>2017-02-18 00:45:20 +0000
commitd14cd254834b5d868d6cb0be0d8f7332c4677062 (patch)
tree5154d207a8f83981a974de027750004424bbdb71 /Makefile
parent916f6d65729f4772249ee160acf94db9ffac1847 (diff)
Add Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..fa1fa16
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,41 @@
+# This file is part of gns-deb-diff.
+#
+# gns-deb-diff is under the Public Domain. See
+# <https://creativecommons.org/publicdomain/zero/1.0>
+
+test:
+ @nosetests
+.PHONY: test
+
+build-dist:
+ @python setup.py sdist bdist_wheel
+.PHONY: build-dist
+
+egg:
+ @python setup.py egg_info
+.PHONY: egg
+
+upload:
+ @twine upload -r pypitest -s -i \
+ '1534 126D 8C8E AD29 EDD9 1396 6BE9 3D8B F866 4377' \
+ dist/*.tar.gz
+ @twine upload -r pypitest -s -i \
+ '1534 126D 8C8E AD29 EDD9 1396 6BE9 3D8B F866 4377' \
+ dist/*.whl
+.PHONY: upload
+
+clean-build:
+ @rm -rf build/
+ @rm -rf dist/
+ @rm -rf *.egg-info
+
+clean-pyc:
+ @find . -name '*.pyc' -exec rm -f {} +
+
+clean-venv:
+ @rm -rf bin/
+ @rm -rf include/
+ @rm -rf lib/
+ @rm -rf local/
+ @rm -rf man/
+.PHONY: clean-venv