# Define the Python interpreter to use
PYTHON = python

# Define the name of the script to update the README
UPDATE_README_SCRIPT = tools/update_readme.py

# Define the targets
.PHONY: update-readme build publish clean

# Target to update the README
update-readme:
	$(PYTHON) $(UPDATE_README_SCRIPT)

# Target to build the package
build: update-readme
	$(PYTHON) -m build

# # Target to publish the package
# publish: build
# 	twine upload dist/*

# Target to clean up build artifacts
clean:
	rm -rf dist build *.egg-info
