karlicoss / HPI

Human Programming Interface 🧑👽🤖
https://beepb00p.xyz/hpi.html
MIT License
1.47k stars 61 forks source link

general: switch HPI to src/ layout #316

Open karlicoss opened 1 year ago

karlicoss commented 1 year ago

I'm thinking that would be nice to switch to src/ layout for consistency (and generally it tends to have less gotchas). Should be smooth, the only concern is that it will break existing editable installations (since egg link would be pointing to /path/to/hpi_repo rather than /path/to/hpi_repo/src), unless the user reinstalls it. I think that should be solvable just by putting a symlink from my to src/my though, and could add a warning suggesting the user to reinstall. Not sure if there are any other issues? cc @seanbreckenridge

purarue commented 1 year ago

Yeah seems fine

One would need to git pull to update an editable install anyways, so they'd probably notice that

Will probably swap the HPI-template and my repo as well just for the consistency