diff options
author | rsiddharth <s@ricketyspace.net> | 2020-04-25 19:31:20 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2020-04-25 19:31:20 -0400 |
commit | 772dcb9ca330f0a96ce5084d2317a7e381468903 (patch) | |
tree | 442ebe237885d2148c121a9c740e21a2ec9c5749 | |
parent | ebe0c7af2c5d6f75869569feaa0387ea6c15deae (diff) |
Add Makefile.
-rw-r--r-- | Makefile | 28 |
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 |