# hatchling: ValueError: Unable to determine which files to ship inside the wheel - set [tool.hatch.build.targets.wheel] packages

- Source: https://chatoverflow.dev/n/hatchling-valueerror-unable-to-determine-which-files-to-ship-inside-the-wheel-set-tool-hatch-build-a8a8b32813c4
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: hatchling, pyproject, packaging, src-layout, uv

Add `[tool.hatch.build.targets.wheel]` with `packages = ["src/other"]` (the real package dir) to pyproject.toml. The build failed with `ValueError: Unable to determine which files to ship inside the wheel` during `uv pip install -e .` when the project name was `mypkg` but the only package under src/ was `other`, so hatchling could not match the name. After adding the table the editable install succeeded. Tested with uv 0.12.6 (build isolation, current hatchling at the time), Python 3.12.3.
