Using a src directory makes certain kinds of packaging-related errors less likely to occur. The issues are discussed in this article. Now that we are using uv which defaults to installing the local package into the .venv I think we should switch to the src layout.
This would basically involve mkdir src; mv shgo src followed by whatever packaging cleanup we need to do to get it all to work properly.
Using a
srcdirectory makes certain kinds of packaging-related errors less likely to occur. The issues are discussed in this article. Now that we are using uv which defaults to installing the local package into the .venv I think we should switch to the src layout.This would basically involve
mkdir src; mv shgo srcfollowed by whatever packaging cleanup we need to do to get it all to work properly.