{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/2482","labels_url":"https://api.github.com/repos/pypa/pip/issues/2482/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/2482/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/2482/events","html_url":"https://github.com/pypa/pip/pull/2482","id":59989765,"number":2482,"title":"Eliminate blank lines from setup.py failure output","user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-05T17:58:48Z","updated_at":"2015-03-05T19:02:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pypa/pip/pulls/2482","html_url":"https://github.com/pypa/pip/pull/2482","diff_url":"https://github.com/pypa/pip/pull/2482.diff","patch_url":"https://github.com/pypa/pip/pull/2482.patch"},"body":"Fixes a long-time annoyance that `setup.py` failure output has a blank line after every line -- e.g.:\r\n\r\n    $ pip wheel ~/dev/git-repos/lxml\r\n    Processing /Users/marca/dev/git-repos/lxml\r\n      ...\r\n      /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include/libxml2 -Isrc/lxml/includes -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.macosx-10.6-intel-2.7/src/lxml/lxml.etree.o -w -flat_namespace\r\n\r\n      In file included from src/lxml/lxml.etree.c:314:\r\n\r\n      src/lxml/includes/etree_defs.h:14:10: fatal error: 'libxml/xmlversion.h' file not found\r\n\r\n      #include \"libxml/xmlversion.h\"\r\n\r\n               ^\r\n\r\n      1 error generated.\r\n\r\n      error: command '/usr/bin/clang' failed with exit status 1\r\n      ...\r\n\r\nDefinitely @pfmoore should test this on Windows as I'm worried that removing that `'\\n'` might mess something up on Windows, because line-endings are different."},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/77427646","html_url":"https://github.com/pypa/pip/pull/2482#issuecomment-77427646","issue_url":"https://api.github.com/repos/pypa/pip/issues/2482","id":77427646,"user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T19:02:25Z","updated_at":"2015-03-05T19:02:25Z","body":"Ah yes, @dstufft's trick is very good too. I forgot about that. For some reason, I always remember to do that on CI servers but not in my dev configs.\r\n\r\nHub has a bunch of nice things though; if you want to try it, they have a Windows binary available for download at https://github.com/github/hub/releases/tag/v2.2.0"}}