diff --git a/Taskfile.yml b/Taskfile.yml index b79bf3e..42d10eb 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -13,6 +13,7 @@ vars: INPUT_EXCLUDE: .*\{\{.*\}\}.* PYTHON_VERSION: 3.11 VERSION: + # Does not use pipenv to avoid pipenv as a project bootstrapping requirement sh: python -c 'from {{.PROJECT_SLUG}} import __version__; print(__version__)' includes: diff --git "a/{{cookiecutter.project_name|replace(\" \", \"\")}}/Taskfile.yml" "b/{{cookiecutter.project_name|replace(\" \", \"\")}}/Taskfile.yml" index b88d3db..db0a509 100644 --- "a/{{cookiecutter.project_name|replace(\" \", \"\")}}/Taskfile.yml" +++ "b/{{cookiecutter.project_name|replace(\" \", \"\")}}/Taskfile.yml" @@ -30,6 +30,7 @@ vars: PYTHON_VERSION: {{ cookiecutter.python_version }} SUPPORTED_PLATFORMS: 'linux/amd64,linux/arm64' VERSION: + # Does not use pipenv to avoid pipenv as a project bootstrapping requirement sh: python -c 'from {{ "{{" }}.PROJECT_SLUG{{ "}}" }} import __version__; print(__version__)' LOCAL_PLATFORM: # Inspired by https://github.com/containerd/containerd/blob/e0912c068b131b33798ae45fd447a1624a6faf0a/platforms/database.go#L76