summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0c00f48
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,28 @@
+#
+# SPDX-License-Identifier: AGPL-3.0-only
+#
+# Copyright © 2020 rsiddharth <s@ricketyspace.net>
+#
+
+develop:
+ @python3 setup.py develop
+.PHONY: develop
+
+build:
+ @python3 setup.py sdist bdist_wheel
+.PHONY: build
+
+upload:
+ @twine upload -r pypi -s -i \
+ '1534 126D 8C8E AD29 EDD9 1396 6BE9 3D8B F866 4377' \
+ dist/*.tar.gz
+ @twine upload -r pypi -s -i \
+ '1534 126D 8C8E AD29 EDD9 1396 6BE9 3D8B F866 4377' \
+ dist/*.whl
+.PHONY: upload
+
+clean:
+ @python3 setup.py clean
+ @rm -rf build/ dist/ *.egg-info __pycache__/
+ @find . -name '*.pyc' -exec rm -f {} +
+.PHONY: clean