{"action":"created","issue":{"url":"https://api.github.com/repos/olofk/fusesoc/issues/105","repository_url":"https://api.github.com/repos/olofk/fusesoc","labels_url":"https://api.github.com/repos/olofk/fusesoc/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/olofk/fusesoc/issues/105/comments","events_url":"https://api.github.com/repos/olofk/fusesoc/issues/105/events","html_url":"https://github.com/olofk/fusesoc/pull/105","id":162339161,"number":105,"title":"use console_scripts instead of scripts","user":{"login":"nturley","id":2446659,"avatar_url":"https://avatars.githubusercontent.com/u/2446659?v=3","gravatar_id":"","url":"https://api.github.com/users/nturley","html_url":"https://github.com/nturley","followers_url":"https://api.github.com/users/nturley/followers","following_url":"https://api.github.com/users/nturley/following{/other_user}","gists_url":"https://api.github.com/users/nturley/gists{/gist_id}","starred_url":"https://api.github.com/users/nturley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nturley/subscriptions","organizations_url":"https://api.github.com/users/nturley/orgs","repos_url":"https://api.github.com/users/nturley/repos","events_url":"https://api.github.com/users/nturley/events{/privacy}","received_events_url":"https://api.github.com/users/nturley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-26T18:01:33Z","updated_at":"2016-07-09T07:21:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/olofk/fusesoc/pulls/105","html_url":"https://github.com/olofk/fusesoc/pull/105","diff_url":"https://github.com/olofk/fusesoc/pull/105.diff","patch_url":"https://github.com/olofk/fusesoc/pull/105.patch"},"body":"this change addresses #104. This page explains more about it.\r\nhttps://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation\r\n\r\nInstead of copying business logic to Scripts, setuptools automatically generates a python file that calls into an entry point and places it in scripts. On windows machines, it generates an exe shim. It should be a little more cross-platform friendly, and a little more maintainable.\r\n\r\nI also added pyyaml as a dependency in setup.py so pip automatically installs it.\r\n\r\nTo make it work, I renamed bin/fusesoc to fusesoc/main.py. This might break your development workflow. I recommend using a virtual environment and calling\r\n`pip install -e .`\r\nThat will add your development version of fusesoc to your path."},"comment":{"url":"https://api.github.com/repos/olofk/fusesoc/issues/comments/231520570","html_url":"https://github.com/olofk/fusesoc/pull/105#issuecomment-231520570","issue_url":"https://api.github.com/repos/olofk/fusesoc/issues/105","id":231520570,"user":{"login":"olofk","id":2194902,"avatar_url":"https://avatars.githubusercontent.com/u/2194902?v=3","gravatar_id":"","url":"https://api.github.com/users/olofk","html_url":"https://github.com/olofk","followers_url":"https://api.github.com/users/olofk/followers","following_url":"https://api.github.com/users/olofk/following{/other_user}","gists_url":"https://api.github.com/users/olofk/gists{/gist_id}","starred_url":"https://api.github.com/users/olofk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olofk/subscriptions","organizations_url":"https://api.github.com/users/olofk/orgs","repos_url":"https://api.github.com/users/olofk/repos","events_url":"https://api.github.com/users/olofk/events{/privacy}","received_events_url":"https://api.github.com/users/olofk/received_events","type":"User","site_admin":false},"created_at":"2016-07-09T07:21:36Z","updated_at":"2016-07-09T07:21:36Z","body":"Thanks! I missed the --yes patch, so I had already added my own version of it. The console_scripts stuff is applied though, and seem to work just fine"}}
{"actor":{"display_login":"olofk"}}