From 772dcb9ca330f0a96ce5084d2317a7e381468903 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 25 Apr 2020 19:31:20 -0400 Subject: Add Makefile. --- Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 +# + +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 -- cgit v1.2.3