Open bessx opened 1 month ago
I'm seeing what I think is this problem, too. I use hatchling as build tool for uv. I have two different packages "backoff" and "pyproto" and they both list hatchling as their build system in their pyproject.toml files, and they are both listed in the root pyproject.toml file. However, when called by "uv sync," the "backoff" site-packages pth file contains the correct path, but the "pyproto" site-packages pth file is created but empty. There are no errors printed, even when running "uv sync -v"
Ultimately, hatch is not properly adding the installed package to the the PATH. This is incredibly annoying and means that I can only run the program from the my-package/src folder, otherwise I constantly get a Module not found error.
(it's blank)
This is happening with every new module I create (using hatch new).
the only thing I add to pyproject.toml is: