Skip to content
Snippets Groups Projects
Makefile 388 B
Newer Older
PROJECT = yangson
Ladislav Lhotka's avatar
Ladislav Lhotka committed
VERSION = 1.3.0
.PHONY = tags deps install-deps test

tags:
	find $(PROJECT) -name "*.py" | etags -

deps:
	pip freeze > requirements.txt

install-deps:
	pip install -r requirements.txt

test:
	@py.test tests
Ladislav Lhotka's avatar
Ladislav Lhotka committed
	git tag -a -m "Yangson release $(VERSION)" $(VERSION)
	rm -f dist/*
	python setup.py sdist
	python setup.py bdist_wheel

upload:
	twine upload dist/*