From 43c773267e922f9c1c286a5b4496d711e7ad1d1e Mon Sep 17 00:00:00 2001 From: ckaipf Date: Fri, 13 Dec 2024 13:14:58 +0100 Subject: [PATCH] Install setuptools before extracting python package version --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 8e5ec6c..d2aee34 100644 --- a/action.yml +++ b/action.yml @@ -78,6 +78,7 @@ runs: if [ -f "setup.py" ] then echo "Using setup.py to extract python package version" + pip install setuptools PKG_VER="$(python setup.py --version)" elif [ -f "pyproject.toml" ] then