{"action":"created","issue":{"url":"https://api.github.com/repos/retext-project/retext/issues/189","labels_url":"https://api.github.com/repos/retext-project/retext/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/retext-project/retext/issues/189/comments","events_url":"https://api.github.com/repos/retext-project/retext/issues/189/events","html_url":"https://github.com/retext-project/retext/pull/189","id":130093227,"number":189,"title":"glob locale files lazy during setup","user":{"login":"farseerfc","id":861563,"avatar_url":"https://avatars.githubusercontent.com/u/861563?v=3","gravatar_id":"","url":"https://api.github.com/users/farseerfc","html_url":"https://github.com/farseerfc","followers_url":"https://api.github.com/users/farseerfc/followers","following_url":"https://api.github.com/users/farseerfc/following{/other_user}","gists_url":"https://api.github.com/users/farseerfc/gists{/gist_id}","starred_url":"https://api.github.com/users/farseerfc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farseerfc/subscriptions","organizations_url":"https://api.github.com/users/farseerfc/orgs","repos_url":"https://api.github.com/users/farseerfc/repos","events_url":"https://api.github.com/users/farseerfc/events{/privacy}","received_events_url":"https://api.github.com/users/farseerfc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-31T06:50:55Z","updated_at":"2016-01-31T07:40:21Z","closed_at":"2016-01-31T07:38:02Z","pull_request":{"url":"https://api.github.com/repos/retext-project/retext/pulls/189","html_url":"https://github.com/retext-project/retext/pull/189","diff_url":"https://github.com/retext-project/retext/pull/189.diff","patch_url":"https://github.com/retext-project/retext/pull/189.patch"},"body":"Currently `setup.py build` will generate locale translations,\r\nand `setup.py install` will install these generated translations.\r\nHowever `setup.py install` from a clean cloned repo will not install these\r\ntranslations because they are generated **after** glob could find these\r\nfiles. This fix use a generator to lazy glob these translations after they are generated."},"comment":{"url":"https://api.github.com/repos/retext-project/retext/issues/comments/177424328","html_url":"https://github.com/retext-project/retext/pull/189#issuecomment-177424328","issue_url":"https://api.github.com/repos/retext-project/retext/issues/189","id":177424328,"user":{"login":"mitya57","id":1381584,"avatar_url":"https://avatars.githubusercontent.com/u/1381584?v=3","gravatar_id":"","url":"https://api.github.com/users/mitya57","html_url":"https://github.com/mitya57","followers_url":"https://api.github.com/users/mitya57/followers","following_url":"https://api.github.com/users/mitya57/following{/other_user}","gists_url":"https://api.github.com/users/mitya57/gists{/gist_id}","starred_url":"https://api.github.com/users/mitya57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitya57/subscriptions","organizations_url":"https://api.github.com/users/mitya57/orgs","repos_url":"https://api.github.com/users/mitya57/repos","events_url":"https://api.github.com/users/mitya57/events{/privacy}","received_events_url":"https://api.github.com/users/mitya57/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T07:40:21Z","updated_at":"2016-01-31T07:40:21Z","body":"Thanks! There is an [iglob](https://docs.python.org/3/library/glob.html#glob.iglob) function in glob module so I used that instead."}}