{"action":"created","issue":{"url":"https://api.github.com/repos/pimoroni/scroll-phat-hd/issues/51","repository_url":"https://api.github.com/repos/pimoroni/scroll-phat-hd","labels_url":"https://api.github.com/repos/pimoroni/scroll-phat-hd/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/pimoroni/scroll-phat-hd/issues/51/comments","events_url":"https://api.github.com/repos/pimoroni/scroll-phat-hd/issues/51/events","html_url":"https://github.com/pimoroni/scroll-phat-hd/issues/51","id":298383017,"number":51,"title":"flask required?","user":{"login":"walchko","id":918960,"avatar_url":"https://avatars1.githubusercontent.com/u/918960?v=4","gravatar_id":"","url":"https://api.github.com/users/walchko","html_url":"https://github.com/walchko","followers_url":"https://api.github.com/users/walchko/followers","following_url":"https://api.github.com/users/walchko/following{/other_user}","gists_url":"https://api.github.com/users/walchko/gists{/gist_id}","starred_url":"https://api.github.com/users/walchko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walchko/subscriptions","organizations_url":"https://api.github.com/users/walchko/orgs","repos_url":"https://api.github.com/users/walchko/repos","events_url":"https://api.github.com/users/walchko/events{/privacy}","received_events_url":"https://api.github.com/users/walchko/received_events","type":"User","site_admin":false},"labels":[{"id":527159357,"url":"https://api.github.com/repos/pimoroni/scroll-phat-hd/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"Gadgetoid","id":1746967,"avatar_url":"https://avatars3.githubusercontent.com/u/1746967?v=4","gravatar_id":"","url":"https://api.github.com/users/Gadgetoid","html_url":"https://github.com/Gadgetoid","followers_url":"https://api.github.com/users/Gadgetoid/followers","following_url":"https://api.github.com/users/Gadgetoid/following{/other_user}","gists_url":"https://api.github.com/users/Gadgetoid/gists{/gist_id}","starred_url":"https://api.github.com/users/Gadgetoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gadgetoid/subscriptions","organizations_url":"https://api.github.com/users/Gadgetoid/orgs","repos_url":"https://api.github.com/users/Gadgetoid/repos","events_url":"https://api.github.com/users/Gadgetoid/events{/privacy}","received_events_url":"https://api.github.com/users/Gadgetoid/received_events","type":"User","site_admin":false},"assignees":[{"login":"Gadgetoid","id":1746967,"avatar_url":"https://avatars3.githubusercontent.com/u/1746967?v=4","gravatar_id":"","url":"https://api.github.com/users/Gadgetoid","html_url":"https://github.com/Gadgetoid","followers_url":"https://api.github.com/users/Gadgetoid/followers","following_url":"https://api.github.com/users/Gadgetoid/following{/other_user}","gists_url":"https://api.github.com/users/Gadgetoid/gists{/gist_id}","starred_url":"https://api.github.com/users/Gadgetoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gadgetoid/subscriptions","organizations_url":"https://api.github.com/users/Gadgetoid/orgs","repos_url":"https://api.github.com/users/Gadgetoid/repos","events_url":"https://api.github.com/users/Gadgetoid/events{/privacy}","received_events_url":"https://api.github.com/users/Gadgetoid/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-02-19T19:41:36Z","updated_at":"2018-02-22T02:33:36Z","closed_at":"2018-02-20T13:42:02Z","author_association":"NONE","body":"So your setup file only calls out `numpy` but you have a file buried in your library (`api/http.py`) that requires `flask` to be installed.  Suggest, you move it out to the examples. It seems *silly* to have a large requirement like `flask` for an lcd matrix.\r\n\r\nWhen I tried to run `hello-world.py` it complained about `flask` even though I am not doing any http/internet stuff.\r\n\r\n```bash\r\npi@terra examples $ ./hello-world.py \r\nTraceback (most recent call last):\r\n  File \"./hello-world.py\", line 6, in <module>\r\n    import scrollphathd\r\n  File \"/usr/local/lib/python2.7/dist-packages/scrollphathd/__init__.py\", line 2, in <module>\r\n    from .api.http import start_background_thread, scrollphathd_blueprint\r\n  File \"/usr/local/lib/python2.7/dist-packages/scrollphathd/api/http.py\", line 21, in <module>\r\n    raise ImportError(\"flask must be installed in order to use the api. Install with pip install flask\")\r\nImportError: flask must be installed in order to use the api. Install with pip install flask\r\n```\r\n\r\nI would also argue for `numpy` to be removed since it takes forever for `numpy` to compile on a Pi Zero, but ... "},"comment":{"url":"https://api.github.com/repos/pimoroni/scroll-phat-hd/issues/comments/367547505","html_url":"https://github.com/pimoroni/scroll-phat-hd/issues/51#issuecomment-367547505","issue_url":"https://api.github.com/repos/pimoroni/scroll-phat-hd/issues/51","id":367547505,"user":{"login":"walchko","id":918960,"avatar_url":"https://avatars1.githubusercontent.com/u/918960?v=4","gravatar_id":"","url":"https://api.github.com/users/walchko","html_url":"https://github.com/walchko","followers_url":"https://api.github.com/users/walchko/followers","following_url":"https://api.github.com/users/walchko/following{/other_user}","gists_url":"https://api.github.com/users/walchko/gists{/gist_id}","starred_url":"https://api.github.com/users/walchko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walchko/subscriptions","organizations_url":"https://api.github.com/users/walchko/orgs","repos_url":"https://api.github.com/users/walchko/repos","events_url":"https://api.github.com/users/walchko/events{/privacy}","received_events_url":"https://api.github.com/users/walchko/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T02:33:36Z","updated_at":"2018-02-22T02:33:36Z","author_association":"NONE","body":"raspbian stretch"}}
{"actor":{"display_login":"walchko"}}