aws-cloudformation / cloudformation-cli

The CloudFormation Provider Development Toolkit allows you to author your own resource providers and modules that can be used by CloudFormation.
Apache License 2.0
316 stars 157 forks source link

setuptools dependency #1067

Open zafodB opened 1 month ago

zafodB commented 1 month ago

The cloudformation-cli does not work if the setuptools package is not installed.

Attempts to issue any command, for example cfn init, fail with an ambiguous error message:

ModuleNotFoundError: No module named 'pkg_resources'

Installing setuptools fixes the issue.

It would be great if this dependency was explicitly stated in the docs, or if setuptools would get installed automatically by pip when cloudformation-cli is installed.