flit icon indicating copy to clipboard operation
flit copied to clipboard

Prompting for username & password doesn't work on git-bash on Windows

Open takluyver opened this issue 6 years ago • 1 comments

In Windows git-bash, sys.stdin.isatty() reports False, so flit doesn't think it's interactive, and doesn't try to prompt for credentials. Discovered by @andrewcbennett during Pycon UK sprints.

No idea how to fix that at present. :-/

takluyver avatar Sep 17 '19 14:09 takluyver

Hi, The same problem occurs with twine. I have no idea how to fix that on Git Bash but you may use the Windows shell to execute 'flit publish'.

Edwauline avatar Jun 22 '20 13:06 Edwauline