In the setuptools documentation, it describes a scenario where code is physically organised like this:
setuptools
my_project/ src/ sub-package/