{"action":"created","issue":{"url":"https://api.github.com/repos/getsenic/nuimo-raspberrypi-demo/issues/9","repository_url":"https://api.github.com/repos/getsenic/nuimo-raspberrypi-demo","labels_url":"https://api.github.com/repos/getsenic/nuimo-raspberrypi-demo/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/getsenic/nuimo-raspberrypi-demo/issues/9/comments","events_url":"https://api.github.com/repos/getsenic/nuimo-raspberrypi-demo/issues/9/events","html_url":"https://github.com/getsenic/nuimo-raspberrypi-demo/pull/9","id":138813782,"number":9,"title":"First step into a PIP world","user":{"login":"shaftoe","id":281389,"avatar_url":"https://avatars.githubusercontent.com/u/281389?v=3","gravatar_id":"","url":"https://api.github.com/users/shaftoe","html_url":"https://github.com/shaftoe","followers_url":"https://api.github.com/users/shaftoe/followers","following_url":"https://api.github.com/users/shaftoe/following{/other_user}","gists_url":"https://api.github.com/users/shaftoe/gists{/gist_id}","starred_url":"https://api.github.com/users/shaftoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaftoe/subscriptions","organizations_url":"https://api.github.com/users/shaftoe/orgs","repos_url":"https://api.github.com/users/shaftoe/repos","events_url":"https://api.github.com/users/shaftoe/events{/privacy}","received_events_url":"https://api.github.com/users/shaftoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-06T17:32:31Z","updated_at":"2016-03-11T11:19:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/getsenic/nuimo-raspberrypi-demo/pulls/9","html_url":"https://github.com/getsenic/nuimo-raspberrypi-demo/pull/9","diff_url":"https://github.com/getsenic/nuimo-raspberrypi-demo/pull/9.diff","patch_url":"https://github.com/getsenic/nuimo-raspberrypi-demo/pull/9.patch"},"body":"* To be able to reuse this code (especially the Nuimo class), we need something like this to let it be installed via PIP. This already works with\r\n\r\n  `pip install https://github.com/shaftoe/nuimo-raspberrypi-demo/archive/pip.zip#nuimocore==0.0.1`\r\n\r\n  and also avoids name collisions with other `nuimo` projects for example.\r\n\r\n* update README to use PIP for bluepy install\r\n\r\n* fix old_style class declaration\r\n\r\n* add setup.py and .gitignore\r\n"},"comment":{"url":"https://api.github.com/repos/getsenic/nuimo-raspberrypi-demo/issues/comments/195324770","html_url":"https://github.com/getsenic/nuimo-raspberrypi-demo/pull/9#issuecomment-195324770","issue_url":"https://api.github.com/repos/getsenic/nuimo-raspberrypi-demo/issues/9","id":195324770,"user":{"login":"larsblumberg","id":5980316,"avatar_url":"https://avatars.githubusercontent.com/u/5980316?v=3","gravatar_id":"","url":"https://api.github.com/users/larsblumberg","html_url":"https://github.com/larsblumberg","followers_url":"https://api.github.com/users/larsblumberg/followers","following_url":"https://api.github.com/users/larsblumberg/following{/other_user}","gists_url":"https://api.github.com/users/larsblumberg/gists{/gist_id}","starred_url":"https://api.github.com/users/larsblumberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsblumberg/subscriptions","organizations_url":"https://api.github.com/users/larsblumberg/orgs","repos_url":"https://api.github.com/users/larsblumberg/repos","events_url":"https://api.github.com/users/larsblumberg/events{/privacy}","received_events_url":"https://api.github.com/users/larsblumberg/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T11:19:08Z","updated_at":"2016-03-11T11:19:08Z","body":"@shaftoe Thank you a lot for your efforts! I have a few questions to understand things before merging the PR:\r\n\r\n- Can we name the library `nuimo-bluepy` instead of `nuimocore`? We are working on dedicated Linux/Python SDK that will make use of `pygattlib` instead of `bluepy`. That way we could have a distinct naming differentiation. What do you think?\r\n- Can we have the `__init__.py` script in the root folder or is the subfolder necessary?\r\n- As I am new to the Python universe, can you please explain why the `setup.py` script is needed?"}}