PFython/easypypi

Auto detect/install Git?

PFython opened this issue · 1 comments

upload_to_github() uses Git system commands but obviously needs Git installed first.

For ultimate convenience, maybe include the option to auto install Git (e.g. for newcomers, or setting up on a new computer?).

At the very least, auto-detect / handle error and direct user to the right website.

Alternatively, I wonder if there's a Python package out there which gives programmatic access to Git functions without having Git CLI installed?

Instead of auto-install (which is tricky because of different operating systems etc), I've added a handy button which takes users straight to the relevant Git web page.