Creating project files from a package's command line interface

What files get automatically included in the wheel (or the sdist) is entirely dependent on the build backend. I see that your build backend is hatch/hatchling, and for this build backend the relevant part of its documentation seems to be “file selection”.