{"action":"created","issue":{"url":"https://api.github.com/repos/pantsbuild/pex/issues/128","labels_url":"https://api.github.com/repos/pantsbuild/pex/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/pantsbuild/pex/issues/128/comments","events_url":"https://api.github.com/repos/pantsbuild/pex/issues/128/events","html_url":"https://github.com/pantsbuild/pex/pull/128","id":87802639,"number":128,"title":"pexrc support","user":{"login":"sixninetynine","id":1018108,"avatar_url":"https://avatars.githubusercontent.com/u/1018108?v=3","gravatar_id":"","url":"https://api.github.com/users/sixninetynine","html_url":"https://github.com/sixninetynine","followers_url":"https://api.github.com/users/sixninetynine/followers","following_url":"https://api.github.com/users/sixninetynine/following{/other_user}","gists_url":"https://api.github.com/users/sixninetynine/gists{/gist_id}","starred_url":"https://api.github.com/users/sixninetynine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sixninetynine/subscriptions","organizations_url":"https://api.github.com/users/sixninetynine/orgs","repos_url":"https://api.github.com/users/sixninetynine/repos","events_url":"https://api.github.com/users/sixninetynine/events{/privacy}","received_events_url":"https://api.github.com/users/sixninetynine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pantsbuild/pex/milestones/2","html_url":"https://github.com/pantsbuild/pex/milestones/1.1","labels_url":"https://api.github.com/repos/pantsbuild/pex/milestones/2/labels","id":1195728,"number":2,"title":"1.1","description":null,"creator":{"login":"wickman","id":200731,"avatar_url":"https://avatars.githubusercontent.com/u/200731?v=3","gravatar_id":"","url":"https://api.github.com/users/wickman","html_url":"https://github.com/wickman","followers_url":"https://api.github.com/users/wickman/followers","following_url":"https://api.github.com/users/wickman/following{/other_user}","gists_url":"https://api.github.com/users/wickman/gists{/gist_id}","starred_url":"https://api.github.com/users/wickman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wickman/subscriptions","organizations_url":"https://api.github.com/users/wickman/orgs","repos_url":"https://api.github.com/users/wickman/repos","events_url":"https://api.github.com/users/wickman/events{/privacy}","received_events_url":"https://api.github.com/users/wickman/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-07-06T21:16:09Z","updated_at":"2015-07-25T23:29:55Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2015-06-12T17:48:37Z","updated_at":"2015-07-30T22:35:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pantsbuild/pex/pulls/128","html_url":"https://github.com/pantsbuild/pex/pull/128","diff_url":"https://github.com/pantsbuild/pex/pull/128.diff","patch_url":"https://github.com/pantsbuild/pex/pull/128.patch"},"body":"Hi!\r\n\r\nBig fan of pex. We are starting to face an issue with our deployments where setting custom PEX_ROOT and PEX_MODULE in some entry scripts. I'm not a huge fan of having to write a wrapper for our pex files and I'd rather drop a .pexrc with my deployment so the pex file itself can see these vars (rather than having to explicitly set them prior to invoking pex). \r\n\r\nThis PR just adds the ability to drop a `~/.pexrc` or `.pexrc` (relative to the pex itself, in that precedence). Variables() reads this file and updates the environment before looking in `os.environ`, so anything in `.pexrc` is overwritten by runtime environment variables. \r\n\r\nLet me know what you think, thanks for looking! "},"comment":{"url":"https://api.github.com/repos/pantsbuild/pex/issues/comments/126510678","html_url":"https://github.com/pantsbuild/pex/pull/128#issuecomment-126510678","issue_url":"https://api.github.com/repos/pantsbuild/pex/issues/128","id":126510678,"user":{"login":"Yasumoto","id":48383,"avatar_url":"https://avatars.githubusercontent.com/u/48383?v=3","gravatar_id":"","url":"https://api.github.com/users/Yasumoto","html_url":"https://github.com/Yasumoto","followers_url":"https://api.github.com/users/Yasumoto/followers","following_url":"https://api.github.com/users/Yasumoto/following{/other_user}","gists_url":"https://api.github.com/users/Yasumoto/gists{/gist_id}","starred_url":"https://api.github.com/users/Yasumoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yasumoto/subscriptions","organizations_url":"https://api.github.com/users/Yasumoto/orgs","repos_url":"https://api.github.com/users/Yasumoto/repos","events_url":"https://api.github.com/users/Yasumoto/events{/privacy}","received_events_url":"https://api.github.com/users/Yasumoto/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T22:35:59Z","updated_at":"2015-07-30T22:35:59Z","body":"I believe if you also rebase on master you can push to clean up this PR too"}}