Setuptools package data setting for config files

Under certain circumstances, setuptools won’t copy static files like config files into the built package unless you tell it to in the build config:

# pyproject.toml
# further up, the default value of 'include-package-data = true' had been set to false.

[tools.setuptools.package-data]
my_package_name = ["config/**/*.json", "pretty_picture.jpg"]

This tripped me up because when I was building a python program for deployment in Docker, things worked fine (it was installed ‘editable’ so no copying of files), but when I bundled everything up for deployment in a lambda using pip install . --target dist, the config wasn’t there!