diff --git a/.github/templates/formula.rb.template b/.github/templates/formula.rb.template index e5df6b3..44383c3 100644 --- a/.github/templates/formula.rb.template +++ b/.github/templates/formula.rb.template @@ -21,7 +21,7 @@ class {{CLASS_NAME}} < Formula system python3, "-m", "venv", libexec # Install the package and all dependencies - system libexec/"bin/pip", "install", "--upgrade", "pip" + system libexec/"bin/pip", "install", "--upgrade", "pip", "setuptools", "wheel" # Set version for setuptools-scm since archive tarballs lack .git metadata # Skip for HEAD builds — they use git clone, so setuptools-scm reads tags directly ENV["SETUPTOOLS_SCM_PRETEND_VERSION"] = version.to_s unless build.head?