Matches directories that are both installable (contain pyproject.toml,
setup.py, or setup.cfg) and have a recognisable source layout (src or
flat). Use this to distinguish a proper Python library from a plain project
or application that merely has a pyproject.toml.