Skip to content

Commit 5c42f75

Browse files
committed
Add note
1 parent 4778070 commit 5c42f75

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Taskfile.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ vars:
1313
INPUT_EXCLUDE: .*\{\{.*\}\}.*
1414
PYTHON_VERSION: 3.11
1515
VERSION:
16+
# Does not use pipenv to avoid pipenv as a project bootstrapping requirement
1617
sh: python -c 'from {{.PROJECT_SLUG}} import __version__; print(__version__)'
1718

1819
includes:

{{cookiecutter.project_name|replace(" ", "")}}/Taskfile.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ vars:
3030
PYTHON_VERSION: {{ cookiecutter.python_version }}
3131
SUPPORTED_PLATFORMS: 'linux/amd64,linux/arm64'
3232
VERSION:
33+
# Does not use pipenv to avoid pipenv as a project bootstrapping requirement
3334
sh: python -c 'from {{ "{{" }}.PROJECT_SLUG{{ "}}" }} import __version__; print(__version__)'
3435
LOCAL_PLATFORM:
3536
# Inspired by https://github.com/containerd/containerd/blob/e0912c068b131b33798ae45fd447a1624a6faf0a/platforms/database.go#L76

0 commit comments

Comments
 (0)