Документы, на которые вы указываете, устарели и довольно кратки. Лучше прочитать это: https://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files
Аргумент package_data
- это словарь, который отображает имена пакетов в списки шаблонов глобуса.
Пример:
from setuptools import setup
setup(
...
package_data={
# If any package contains *.txt or *.rst files, include them:
'': ['*.txt', '*.rst'],
# And include any *.msg files found in the 'hello' package, too:
'hello': ['*.msg'],
}
)