Created
May 12, 2023 13:01
-
-
Save bmritz/29928472686508858950b3af7d70ebd4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REQUIRED := python3.11 curl | |
$(foreach bin,$(REQUIRED),\ | |
$(if $(shell command -v $(bin) 2> /dev/null),,$(error Please install `$(bin)`))) | |
REPOSITORY_ROOT := $(PWD) | |
.poetry/bin/poetry: ## install poetry | |
@curl -sSL https://install.python-poetry.org | POETRY_HOME=$(REPOSITORY_ROOT)/$(shell basename $(dir $(abspath $(dir $(@))))) python3.11 - --version=1.4.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment