I'm using Poetry to manage a python package's dependencies and automate the build and release process.
Part of the release pipeline is generating a subpackage, to be included in the release (sdist/wheel). Setuptools had Distutils' build_py hook, but I don't find anything comparable in Poetry.
Is there a way to add custom function hooks to poetry build?