A single project can build multiple packages, each of which should be able to get its own _version.py file.
Unfortunately, Hatch is limited to only one instance of a hook, so it is non-trivial to create multiple copies of the generated _version.py. Instead, the vcs build hook could accept a list of output paths to create.