nervtn-server/Makefile

18 lines
312 B
Makefile

PYTHON = python3
SRCDIR = .
all: clean sdist wheel
test:
py.test
clean:
rm -rf *.egg-info dist build .eggs .pytest_cache
sdist:
flit -f $(SRCDIR)/pyproject.toml build --no-setup-py --format=sdist
wheel:
flit -f $(SRCDIR)/pyproject.toml build --no-setup-py --format=wheel
.PHONY: clean test sdist wheel