From 8b8f43334e85fd1e7d3e77efd296be78ad805241 Mon Sep 17 00:00:00 2001 From: pedrocarlo Date: Thu, 19 Jun 2025 17:00:51 -0300 Subject: [PATCH] remove python makefile as it is obsolete with UV --- bindings/python/Makefile | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 bindings/python/Makefile diff --git a/bindings/python/Makefile b/bindings/python/Makefile deleted file mode 100644 index f685fa651..000000000 --- a/bindings/python/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -REQUIREMENTS := requirements.txt -REQUIREMENTS_DEV := requirements-dev.txt - -all: check-requirements install lint test -.PHONY: all - -install: - @echo "Installing requirements..." - pip install -r requirements.txt -r requirements-dev.txt -.PHONY: install - -test: - @echo "Running tests..." - pytest -.PHONY: test - -lint: - @echo "Running linters..." - ruff check - ruff format --diff -.PHONY: lint - -check-requirements: - @echo "Checking requirements files..." - mkdir -p .tmp - pip-compile pyproject.toml --quiet --output-file=.tmp/$(REQUIREMENTS) - pip-compile pyproject.toml --quiet --extra=dev --output-file=.tmp/$(REQUIREMENTS_DEV) - diff -u $(REQUIREMENTS) .tmp/$(REQUIREMENTS) || (echo "$(REQUIREMENTS) doesn't match pyproject.toml" && exit 1) - diff -u $(REQUIREMENTS_DEV) .tmp/$(REQUIREMENTS_DEV) || (echo "$(REQUIREMENTS_DEV) doesn't match pyproject.toml" && exit 1) - @echo "Requirements files match pyproject.toml" -.PHONY: check-requirements - -compile-requirements: - @echo "Compiling requirements files..." - pip-compile pyproject.toml --output-file=$(REQUIREMENTS) - pip-compile pyproject.toml --extra=dev --output-file=$(REQUIREMENTS_DEV) -.PHONY: compile-requirements