The structure of the project is probably not correct. It should contains a src/
directory with your python modules or a <packageName> directory at root alongside the pyproject.toml
See https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#automatic-discovery