summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 668d261eba0e8bdb228770bc17d20e8ce5ab00b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# SPDX-License-Identifier: AGPL-3.0-only
#
# Copyright © 2020 rsiddharth <s@ricketyspace.net>
#

fmt:
	black acmens.py setup.py
.PHONY: fmt

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