GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.6k stars 205 forks source link

Allow installation via `pip` #379

Open austinbutler opened 2 years ago

austinbutler commented 2 years ago

https://github.com/GAM-team/got-your-back/issues/239 was closed by the stale bot without any maintainer input.

It would be helpful to users to allow installing via pip. I think it could also help with packaging the tool by having a standardized install. My personal suggestion would be Poetry, which I think makes it all fairly easy.

woodruffw commented 1 year ago

This project is packaged downstream by Homebrew using the current PyInstaller setup, which unfortunately runs afoul of Homebrew's vendoring rules: https://docs.brew.sh/Acceptable-Formulae#stuff-that-requires-vendored-versions-of-homebrew-formulae

(In particular, since PyInstaller puts the entire Python interpreter/runtime into the distribution, it prevents Homebrew from upgrading the underlying interpreter for gyb without an entire package rebuild. This makes it harder for Homebrew to perform security updates, which is why it's generally forbidden as a matter of policy.)

Allowing installation via pip would resolve the problem here.

CC @unitof as the original formula submitter.