{"action":"created","comment":{"url":"https://api.github.com/repos/gbin/err/pulls/comments/39717832","id":39717832,"diff_hunk":"@@ -96,7 +96,10 @@ def read(fname):\n     setup(\n         name=\"err\",\n         version=VERSION,\n-        packages=find_packages(src_root),\n+        packages=find_packages(src_root, exclude=['tests',\n+                                                  'tests.*',","path":"setup.py","position":6,"original_position":6,"commit_id":"0d57334818fc1810fb7ca830df5a98a78a5000bf","original_commit_id":"0d57334818fc1810fb7ca830df5a98a78a5000bf","user":{"login":"gbin","id":975564,"avatar_url":"https://avatars.githubusercontent.com/u/975564?v=3","gravatar_id":"","url":"https://api.github.com/users/gbin","html_url":"https://github.com/gbin","followers_url":"https://api.github.com/users/gbin/followers","following_url":"https://api.github.com/users/gbin/following{/other_user}","gists_url":"https://api.github.com/users/gbin/gists{/gist_id}","starred_url":"https://api.github.com/users/gbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbin/subscriptions","organizations_url":"https://api.github.com/users/gbin/orgs","repos_url":"https://api.github.com/users/gbin/repos","events_url":"https://api.github.com/users/gbin/events{/privacy}","received_events_url":"https://api.github.com/users/gbin/received_events","type":"User","site_admin":false},"body":"we need those other ones ?","created_at":"2015-09-17T07:37:21Z","updated_at":"2015-09-17T07:37:21Z","html_url":"https://github.com/gbin/err/pull/475#discussion_r39717832","pull_request_url":"https://api.github.com/repos/gbin/err/pulls/475","_links":{"self":{"href":"https://api.github.com/repos/gbin/err/pulls/comments/39717832"},"html":{"href":"https://github.com/gbin/err/pull/475#discussion_r39717832"},"pull_request":{"href":"https://api.github.com/repos/gbin/err/pulls/475"}}},"pull_request":{"url":"https://api.github.com/repos/gbin/err/pulls/475","id":45259778,"html_url":"https://github.com/gbin/err/pull/475","diff_url":"https://github.com/gbin/err/pull/475.diff","patch_url":"https://github.com/gbin/err/pull/475.patch","issue_url":"https://api.github.com/repos/gbin/err/issues/475","number":475,"state":"open","locked":false,"title":"setup.py: Fix pollution of dist-packages by tests","user":{"login":"mrshu","id":461491,"avatar_url":"https://avatars.githubusercontent.com/u/461491?v=3","gravatar_id":"","url":"https://api.github.com/users/mrshu","html_url":"https://github.com/mrshu","followers_url":"https://api.github.com/users/mrshu/followers","following_url":"https://api.github.com/users/mrshu/following{/other_user}","gists_url":"https://api.github.com/users/mrshu/gists{/gist_id}","starred_url":"https://api.github.com/users/mrshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrshu/subscriptions","organizations_url":"https://api.github.com/users/mrshu/orgs","repos_url":"https://api.github.com/users/mrshu/repos","events_url":"https://api.github.com/users/mrshu/events{/privacy}","received_events_url":"https://api.github.com/users/mrshu/received_events","type":"User","site_admin":false},"body":"* It seems that when installing err not only the errbot package is\r\n  created but also a 'tests' package. This commit makes setup.py exclude\r\n  that package, as described in http://stackoverflow.com/a/29978235\r\n\r\nSigned-off-by: mr.Shu <mr@shu.io>","created_at":"2015-09-17T07:33:22Z","updated_at":"2015-09-17T07:37:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72f04ae61b338c3b359c287019551c1dfb64dc80","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gbin/err/pulls/475/commits","review_comments_url":"https://api.github.com/repos/gbin/err/pulls/475/comments","review_comment_url":"https://api.github.com/repos/gbin/err/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gbin/err/issues/475/comments","statuses_url":"https://api.github.com/repos/gbin/err/statuses/0d57334818fc1810fb7ca830df5a98a78a5000bf","head":{"label":"mrshu:mrshu/setup-fix-pollution","ref":"mrshu/setup-fix-pollution","sha":"0d57334818fc1810fb7ca830df5a98a78a5000bf","user":{"login":"mrshu","id":461491,"avatar_url":"https://avatars.githubusercontent.com/u/461491?v=3","gravatar_id":"","url":"https://api.github.com/users/mrshu","html_url":"https://github.com/mrshu","followers_url":"https://api.github.com/users/mrshu/followers","following_url":"https://api.github.com/users/mrshu/following{/other_user}","gists_url":"https://api.github.com/users/mrshu/gists{/gist_id}","starred_url":"https://api.github.com/users/mrshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrshu/subscriptions","organizations_url":"https://api.github.com/users/mrshu/orgs","repos_url":"https://api.github.com/users/mrshu/repos","events_url":"https://api.github.com/users/mrshu/events{/privacy}","received_events_url":"https://api.github.com/users/mrshu/received_events","type":"User","site_admin":false},"repo":{"id":42482750,"name":"err","full_name":"mrshu/err","owner":{"login":"mrshu","id":461491,"avatar_url":"https://avatars.githubusercontent.com/u/461491?v=3","gravatar_id":"","url":"https://api.github.com/users/mrshu","html_url":"https://github.com/mrshu","followers_url":"https://api.github.com/users/mrshu/followers","following_url":"https://api.github.com/users/mrshu/following{/other_user}","gists_url":"https://api.github.com/users/mrshu/gists{/gist_id}","starred_url":"https://api.github.com/users/mrshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrshu/subscriptions","organizations_url":"https://api.github.com/users/mrshu/orgs","repos_url":"https://api.github.com/users/mrshu/repos","events_url":"https://api.github.com/users/mrshu/events{/privacy}","received_events_url":"https://api.github.com/users/mrshu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrshu/err","description":"Err is a chatbot designed to be simple to extend with plugins written in Python.","fork":true,"url":"https://api.github.com/repos/mrshu/err","forks_url":"https://api.github.com/repos/mrshu/err/forks","keys_url":"https://api.github.com/repos/mrshu/err/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrshu/err/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrshu/err/teams","hooks_url":"https://api.github.com/repos/mrshu/err/hooks","issue_events_url":"https://api.github.com/repos/mrshu/err/issues/events{/number}","events_url":"https://api.github.com/repos/mrshu/err/events","assignees_url":"https://api.github.com/repos/mrshu/err/assignees{/user}","branches_url":"https://api.github.com/repos/mrshu/err/branches{/branch}","tags_url":"https://api.github.com/repos/mrshu/err/tags","blobs_url":"https://api.github.com/repos/mrshu/err/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrshu/err/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrshu/err/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrshu/err/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrshu/err/statuses/{sha}","languages_url":"https://api.github.com/repos/mrshu/err/languages","stargazers_url":"https://api.github.com/repos/mrshu/err/stargazers","contributors_url":"https://api.github.com/repos/mrshu/err/contributors","subscribers_url":"https://api.github.com/repos/mrshu/err/subscribers","subscription_url":"https://api.github.com/repos/mrshu/err/subscription","commits_url":"https://api.github.com/repos/mrshu/err/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrshu/err/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrshu/err/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrshu/err/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrshu/err/contents/{+path}","compare_url":"https://api.github.com/repos/mrshu/err/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrshu/err/merges","archive_url":"https://api.github.com/repos/mrshu/err/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrshu/err/downloads","issues_url":"https://api.github.com/repos/mrshu/err/issues{/number}","pulls_url":"https://api.github.com/repos/mrshu/err/pulls{/number}","milestones_url":"https://api.github.com/repos/mrshu/err/milestones{/number}","notifications_url":"https://api.github.com/repos/mrshu/err/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrshu/err/labels{/name}","releases_url":"https://api.github.com/repos/mrshu/err/releases{/id}","created_at":"2015-09-14T23:24:07Z","updated_at":"2015-09-14T23:24:08Z","pushed_at":"2015-09-17T07:30:00Z","git_url":"git://github.com/mrshu/err.git","ssh_url":"git@github.com:mrshu/err.git","clone_url":"https://github.com/mrshu/err.git","svn_url":"https://github.com/mrshu/err","homepage":"http://errbot.net","size":9027,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gbin:master","ref":"master","sha":"d997b5e48bf2f78ec76cffdb4d6ad542e322b674","user":{"login":"gbin","id":975564,"avatar_url":"https://avatars.githubusercontent.com/u/975564?v=3","gravatar_id":"","url":"https://api.github.com/users/gbin","html_url":"https://github.com/gbin","followers_url":"https://api.github.com/users/gbin/followers","following_url":"https://api.github.com/users/gbin/following{/other_user}","gists_url":"https://api.github.com/users/gbin/gists{/gist_id}","starred_url":"https://api.github.com/users/gbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbin/subscriptions","organizations_url":"https://api.github.com/users/gbin/orgs","repos_url":"https://api.github.com/users/gbin/repos","events_url":"https://api.github.com/users/gbin/events{/privacy}","received_events_url":"https://api.github.com/users/gbin/received_events","type":"User","site_admin":false},"repo":{"id":4387547,"name":"err","full_name":"gbin/err","owner":{"login":"gbin","id":975564,"avatar_url":"https://avatars.githubusercontent.com/u/975564?v=3","gravatar_id":"","url":"https://api.github.com/users/gbin","html_url":"https://github.com/gbin","followers_url":"https://api.github.com/users/gbin/followers","following_url":"https://api.github.com/users/gbin/following{/other_user}","gists_url":"https://api.github.com/users/gbin/gists{/gist_id}","starred_url":"https://api.github.com/users/gbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbin/subscriptions","organizations_url":"https://api.github.com/users/gbin/orgs","repos_url":"https://api.github.com/users/gbin/repos","events_url":"https://api.github.com/users/gbin/events{/privacy}","received_events_url":"https://api.github.com/users/gbin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gbin/err","description":"Err is a chatbot designed to be simple to extend with plugins written in Python.","fork":false,"url":"https://api.github.com/repos/gbin/err","forks_url":"https://api.github.com/repos/gbin/err/forks","keys_url":"https://api.github.com/repos/gbin/err/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gbin/err/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gbin/err/teams","hooks_url":"https://api.github.com/repos/gbin/err/hooks","issue_events_url":"https://api.github.com/repos/gbin/err/issues/events{/number}","events_url":"https://api.github.com/repos/gbin/err/events","assignees_url":"https://api.github.com/repos/gbin/err/assignees{/user}","branches_url":"https://api.github.com/repos/gbin/err/branches{/branch}","tags_url":"https://api.github.com/repos/gbin/err/tags","blobs_url":"https://api.github.com/repos/gbin/err/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gbin/err/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gbin/err/git/refs{/sha}","trees_url":"https://api.github.com/repos/gbin/err/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gbin/err/statuses/{sha}","languages_url":"https://api.github.com/repos/gbin/err/languages","stargazers_url":"https://api.github.com/repos/gbin/err/stargazers","contributors_url":"https://api.github.com/repos/gbin/err/contributors","subscribers_url":"https://api.github.com/repos/gbin/err/subscribers","subscription_url":"https://api.github.com/repos/gbin/err/subscription","commits_url":"https://api.github.com/repos/gbin/err/commits{/sha}","git_commits_url":"https://api.github.com/repos/gbin/err/git/commits{/sha}","comments_url":"https://api.github.com/repos/gbin/err/comments{/number}","issue_comment_url":"https://api.github.com/repos/gbin/err/issues/comments{/number}","contents_url":"https://api.github.com/repos/gbin/err/contents/{+path}","compare_url":"https://api.github.com/repos/gbin/err/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gbin/err/merges","archive_url":"https://api.github.com/repos/gbin/err/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gbin/err/downloads","issues_url":"https://api.github.com/repos/gbin/err/issues{/number}","pulls_url":"https://api.github.com/repos/gbin/err/pulls{/number}","milestones_url":"https://api.github.com/repos/gbin/err/milestones{/number}","notifications_url":"https://api.github.com/repos/gbin/err/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gbin/err/labels{/name}","releases_url":"https://api.github.com/repos/gbin/err/releases{/id}","created_at":"2012-05-20T21:13:41Z","updated_at":"2015-09-11T14:08:56Z","pushed_at":"2015-09-17T07:33:23Z","git_url":"git://github.com/gbin/err.git","ssh_url":"git@github.com:gbin/err.git","clone_url":"https://github.com/gbin/err.git","svn_url":"https://github.com/gbin/err","homepage":"http://errbot.net","size":9027,"stargazers_count":473,"watchers_count":473,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":112,"mirror_url":null,"open_issues_count":28,"forks":112,"open_issues":28,"watchers":473,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gbin/err/pulls/475"},"html":{"href":"https://github.com/gbin/err/pull/475"},"issue":{"href":"https://api.github.com/repos/gbin/err/issues/475"},"comments":{"href":"https://api.github.com/repos/gbin/err/issues/475/comments"},"review_comments":{"href":"https://api.github.com/repos/gbin/err/pulls/475/comments"},"review_comment":{"href":"https://api.github.com/repos/gbin/err/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gbin/err/pulls/475/commits"},"statuses":{"href":"https://api.github.com/repos/gbin/err/statuses/0d57334818fc1810fb7ca830df5a98a78a5000bf"}}}}