{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/twine/issues/118","labels_url":"https://api.github.com/repos/pypa/twine/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/pypa/twine/issues/118/comments","events_url":"https://api.github.com/repos/pypa/twine/issues/118/events","html_url":"https://github.com/pypa/twine/issues/118","id":96889908,"number":118,"title":"Mention that twine prompts you for credentials when omitted","user":{"login":"felipedau","id":4574368,"avatar_url":"https://avatars.githubusercontent.com/u/4574368?v=3","gravatar_id":"","url":"https://api.github.com/users/felipedau","html_url":"https://github.com/felipedau","followers_url":"https://api.github.com/users/felipedau/followers","following_url":"https://api.github.com/users/felipedau/following{/other_user}","gists_url":"https://api.github.com/users/felipedau/gists{/gist_id}","starred_url":"https://api.github.com/users/felipedau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipedau/subscriptions","organizations_url":"https://api.github.com/users/felipedau/orgs","repos_url":"https://api.github.com/users/felipedau/repos","events_url":"https://api.github.com/users/felipedau/events{/privacy}","received_events_url":"https://api.github.com/users/felipedau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pypa/twine/labels/documentation%20bug","name":"documentation bug","color":"eb6420"},{"url":"https://api.github.com/repos/pypa/twine/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-23T19:37:53Z","updated_at":"2015-09-13T01:00:45Z","closed_at":null,"body":"Suppose you have something like this in ``~/.pypirc``:\r\n\r\n```\r\n[distutils]\r\nindex-servers =\r\n    pypi\r\n    pypitest\r\n\r\n[pypi]\r\nrepository: https://pypi.python.org/pypi\r\n\r\n[pypitest]\r\nrepository: https://testpypi.python.org/pypi\r\n```\r\nI am not sure if this is an \"intended feature\" because if you call the usual ``python setup.py upload`` with ``username`` and ``password`` omitted like that, you get an error:\r\n> ...\r\n>   File \"/usr/lib/python2.7/distutils/config.py\", line 76, in _read_pypirc\r\n>     current['username'] = config.get(server, 'username')\r\n>   File \"/usr/lib/python2.7/ConfigParser.py\", line 618, in get\r\n>     raise NoOptionError(option, section)\r\n> ConfigParser.NoOptionError: No option 'username' in section: 'pypi'\r\n\r\nHowever, when calling ``twine upload`` it conveniently asks you for the credentials!\r\n\r\nI just opened this issue because I think this feature should be mentioned on the README (the only documentation I could find) for people that do not like to store plaintext passwords on disk.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/pypa/twine/issues/comments/139832984","html_url":"https://github.com/pypa/twine/issues/118#issuecomment-139832984","issue_url":"https://api.github.com/repos/pypa/twine/issues/118","id":139832984,"user":{"login":"felipedau","id":4574368,"avatar_url":"https://avatars.githubusercontent.com/u/4574368?v=3","gravatar_id":"","url":"https://api.github.com/users/felipedau","html_url":"https://github.com/felipedau","followers_url":"https://api.github.com/users/felipedau/followers","following_url":"https://api.github.com/users/felipedau/following{/other_user}","gists_url":"https://api.github.com/users/felipedau/gists{/gist_id}","starred_url":"https://api.github.com/users/felipedau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipedau/subscriptions","organizations_url":"https://api.github.com/users/felipedau/orgs","repos_url":"https://api.github.com/users/felipedau/repos","events_url":"https://api.github.com/users/felipedau/events{/privacy}","received_events_url":"https://api.github.com/users/felipedau/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T01:00:45Z","updated_at":"2015-09-13T01:00:45Z","body":"> Please don't do that in the same pull request. If you want to work on #11 that should be a separate pull request.\r\n\r\nAbsolutely.\r\n\r\n> Given the timeline for Warehouse, I don't think twine will be around much longer.\r\n\r\nOh, got it."}}