I didn’t read the full back and forth, but I’m confused by “I can pip install...”, “I edited something”, “I can’t pip install anymore”. If you can pip install the first time, then there’s zero reason you can’t `pip install .` or `pip install ./buku` again, depending on from which directory you call pip. Pip should take care of console script generation just like the first time round. If not, raise an issue on pypa/pip. Now, I’m aware that egg-based, editable installs (actually handled by setuptools instead of pip) has quirks on Windows (even those are edge cases that probably don’t apply here), but I’m not aware of any problems with wheel-based installs.
> build exe
I used to package my cross platform PyQt apps with pyinstaller. It’s actively maintained. But that’s probably not what you want here, all you need is pip (again, I didn’t read everything).