Skip to content

po-files included but not specified as data files #4120

Answered by abravalheri
buhtz asked this question in Q&A
Discussion options

You must be logged in to vote

I suspect this is probably because tool.setuptools.include-package-data default value in pyproject.toml is true. Isn't it the case?

When we were designing the support for pyproject.toml the feedback we received is that it was better to change the default of include-package-data to True because that is what most beginners would expect.
This and other changes in behaviour were made in order to steer the usage of pyproject.toml towards "convention over configuration".

I recently updated the https://setuptools.pypa.io/en/latest/userguide/datafiles.html docs to make this more evident. I hope that helps.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by buhtz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants