export PKG=csst_common

all: test install clean

clean:
	rm -rf build dist $(PKG).egg-info
	rm -rf .coverage .coverage.* .pytest_cache htmlcov *.log

install: clean
	pip install .
	rm -rf build dist $(PKG).egg-info

uninstall:
	pip uninstall $(PKG) -y

test:
	coverage run -m  pytest . --cov=$(PKG) --import-mode=importlib --cov-report=term-missing
	coverage report -m
	rm -rf .coverage .coverage.* .pytest_cache htmlcov *.log