Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/python/cocalc-api/Makefile
1709 views
all: install build-docs

install:
	uv --version >/dev/null 2> /dev/null || curl -LsSf https://astral.sh/uv/install.sh | sh
	uv sync --dev
	uv pip install -e .

check:
	uv run ruff check src/
	uv run mypy src/

serve-docs:
	uv run mkdocs serve

build-docs: install
	uv run mkdocs build

publish: install
	uv build
	uv publish

clean:
	rm -rf dist build *.egg-info site
	find . -name "__pycache__" -type d -exec rm -rf {} +