-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twine does not work on Windows #116
Comments
The error is utils.py, in get_password, getpass.getpass somehow generates a unicode string to print the stars to hide the password, and the Windows console doesn't support unicode. |
After some quick googling, it seems to be a pretty common problem (see here and even here in django) with getpass on Windows with Python < 3. Here is a quick and dirty fix, you should maybe adapt it with python version checking and platform checking : Change
into:
|
@mhils feel like updating your PR? |
Sorry, super busy the last days. It's definitely on my todo list, but may Ian Cordasco [email protected] schrieb am Mi., 29. Juli 2015 18:03:
|
Twine fails on Windows as it apparently treats all input as unicode:
twine cuts off the stack trace for some reason, so I don't have any other info - sorry.
The text was updated successfully, but these errors were encountered: