{"action":"created","issue":{"url":"https://api.github.com/repos/unified-font-object/ufo-example-implementations/issues/12","labels_url":"https://api.github.com/repos/unified-font-object/ufo-example-implementations/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/unified-font-object/ufo-example-implementations/issues/12/comments","events_url":"https://api.github.com/repos/unified-font-object/ufo-example-implementations/issues/12/events","html_url":"https://github.com/unified-font-object/ufo-example-implementations/pull/12","id":111351910,"number":12,"title":"use ufonormalizer.py as a module + setup.py to create console script","user":{"login":"anthrotype","id":6939968,"avatar_url":"https://avatars.githubusercontent.com/u/6939968?v=3","gravatar_id":"","url":"https://api.github.com/users/anthrotype","html_url":"https://github.com/anthrotype","followers_url":"https://api.github.com/users/anthrotype/followers","following_url":"https://api.github.com/users/anthrotype/following{/other_user}","gists_url":"https://api.github.com/users/anthrotype/gists{/gist_id}","starred_url":"https://api.github.com/users/anthrotype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthrotype/subscriptions","organizations_url":"https://api.github.com/users/anthrotype/orgs","repos_url":"https://api.github.com/users/anthrotype/repos","events_url":"https://api.github.com/users/anthrotype/events{/privacy}","received_events_url":"https://api.github.com/users/anthrotype/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-14T08:49:21Z","updated_at":"2015-10-29T08:50:56Z","closed_at":"2015-10-14T14:02:46Z","pull_request":{"url":"https://api.github.com/repos/unified-font-object/ufo-example-implementations/pulls/12","html_url":"https://github.com/unified-font-object/ufo-example-implementations/pull/12","diff_url":"https://github.com/unified-font-object/ufo-example-implementations/pull/12.diff","patch_url":"https://github.com/unified-font-object/ufo-example-implementations/pull/12.patch"},"body":"I guess this can be useful.\r\nIt would allow to `import ufonormalizer` from another script and call `ufonormalizer.main([ufopath])`.\r\nIt also creates a platform-specific console script (`*.exe` for windows) upon installing.\r\nDevelopers could also do `pip install -e .` to run the script while editing the source module.\r\nI know it's an 'example implementation' but it's good enough for others to use it, no?"},"comment":{"url":"https://api.github.com/repos/unified-font-object/ufo-example-implementations/issues/comments/152114746","html_url":"https://github.com/unified-font-object/ufo-example-implementations/pull/12#issuecomment-152114746","issue_url":"https://api.github.com/repos/unified-font-object/ufo-example-implementations/issues/12","id":152114746,"user":{"login":"moyogo","id":1923747,"avatar_url":"https://avatars.githubusercontent.com/u/1923747?v=3","gravatar_id":"","url":"https://api.github.com/users/moyogo","html_url":"https://github.com/moyogo","followers_url":"https://api.github.com/users/moyogo/followers","following_url":"https://api.github.com/users/moyogo/following{/other_user}","gists_url":"https://api.github.com/users/moyogo/gists{/gist_id}","starred_url":"https://api.github.com/users/moyogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moyogo/subscriptions","organizations_url":"https://api.github.com/users/moyogo/orgs","repos_url":"https://api.github.com/users/moyogo/repos","events_url":"https://api.github.com/users/moyogo/events{/privacy}","received_events_url":"https://api.github.com/users/moyogo/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T08:50:56Z","updated_at":"2015-10-29T08:50:56Z","body":"That’s correct. `pip install -e .` and `python setup.py develop` do the same."}}