package-data

Domain: Pure Python Packages

🎯 Motivation

A declarative way to specify which non-Python files to include per package. Listed in [tool.setuptools.package-data].

📋 Concrete Example

Write package-data = {mypkg = ["*.json", "templates/*.html"]} to bundle specific file types.

🔗 Analogy

package-data is a packing checklist — you tick exactly which items go into each box.