Fix pyproject.toml not to install README.md and CHANGELOG.md straight into site-packages directory, i.e. as:
/usr/lib/python3.12/site-packages/README.md
To do that, explicitly specify format = "sdist", so that the files are included in sdist archives only, and not in wheels, where there would end up being treated as Python packages.
Fix
pyproject.toml
not to installREADME.md
andCHANGELOG.md
straight into site-packages directory, i.e. as:To do that, explicitly specify
format = "sdist"
, so that the files are included in sdist archives only, and not in wheels, where there would end up being treated as Python packages.