{"action":"opened","issue":{"url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/282","labels_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/282/comments","events_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/282/events","html_url":"https://github.com/Alexpux/MSYS2-packages/issues/282","id":93135358,"number":282,"title":"python2 virtualenv / sys.prefix issues.","user":{"login":"mingwandroid","id":1042804,"avatar_url":"https://avatars.githubusercontent.com/u/1042804?v=3","gravatar_id":"","url":"https://api.github.com/users/mingwandroid","html_url":"https://github.com/mingwandroid","followers_url":"https://api.github.com/users/mingwandroid/followers","following_url":"https://api.github.com/users/mingwandroid/following{/other_user}","gists_url":"https://api.github.com/users/mingwandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/mingwandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingwandroid/subscriptions","organizations_url":"https://api.github.com/users/mingwandroid/orgs","repos_url":"https://api.github.com/users/mingwandroid/repos","events_url":"https://api.github.com/users/mingwandroid/events{/privacy}","received_events_url":"https://api.github.com/users/mingwandroid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-05T18:52:12Z","updated_at":"2015-07-05T18:52:12Z","closed_at":null,"body":"Building firefox requires a python2 virtualenv, but sys.prefix returns the wrong value if it is run with argv[0] as a Windows path.\r\n\r\nCorrect:\r\n/e/m2/repo/mingw-w64-firefox/src/mozilla-mingw.x86_64/_virtualenv/bin/python2.7 -c 'import sys ; print sys.prefix'\r\n/e/m2/repo/mingw-w64-firefox/src/mozilla-mingw.x86_64/_virtualenv\r\n\r\nIncorrect:\r\nE:/m2/repo/mingw-w64-firefox/src/mozilla-mingw.x86_64/_virtualenv/bin/python2.7 -c 'import sys ; print sys.prefix'\r\n/usr"}}