{"action":"created","comment":{"url":"https://api.github.com/repos/aloetesting/aloe/pulls/comments/240036967","pull_request_review_id":182978594,"id":240036967,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDAzNjk2Nw==","diff_hunk":"@@ -2,13 +2,16 @@\n Setup script.\n \"\"\"\n \n+import io\n+from os import path\n from setuptools import setup, find_packages\n \n if __name__ == '__main__':\n+    this_directory = path.abspath(path.dirname(__file__))\n     with \\\n             open('requirements.txt') as requirements, \\\n             open('test_requirements.txt') as test_requirements, \\\n-            open('README.md') as readme:\n+            io.open(path.join(this_directory, 'README.md'), encoding='utf-8') as readme:","path":"setup.py","position":14,"original_position":14,"commit_id":"9b97768f3383fe421c5c7c2ca302a054ae4bad01","original_commit_id":"9b97768f3383fe421c5c7c2ca302a054ae4bad01","user":{"login":"koterpillar","id":140276,"node_id":"MDQ6VXNlcjE0MDI3Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/140276?v=4","gravatar_id":"","url":"https://api.github.com/users/koterpillar","html_url":"https://github.com/koterpillar","followers_url":"https://api.github.com/users/koterpillar/followers","following_url":"https://api.github.com/users/koterpillar/following{/other_user}","gists_url":"https://api.github.com/users/koterpillar/gists{/gist_id}","starred_url":"https://api.github.com/users/koterpillar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koterpillar/subscriptions","organizations_url":"https://api.github.com/users/koterpillar/orgs","repos_url":"https://api.github.com/users/koterpillar/repos","events_url":"https://api.github.com/users/koterpillar/events{/privacy}","received_events_url":"https://api.github.com/users/koterpillar/received_events","type":"User","site_admin":false},"body":"Why the use of `this_directory` here but not above? ","created_at":"2018-12-09T13:30:54Z","updated_at":"2018-12-09T13:33:35Z","html_url":"https://github.com/aloetesting/aloe/pull/152#discussion_r240036967","pull_request_url":"https://api.github.com/repos/aloetesting/aloe/pulls/152","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/aloetesting/aloe/pulls/comments/240036967"},"html":{"href":"https://github.com/aloetesting/aloe/pull/152#discussion_r240036967"},"pull_request":{"href":"https://api.github.com/repos/aloetesting/aloe/pulls/152"}}},"pull_request":{"url":"https://api.github.com/repos/aloetesting/aloe/pulls/152","id":237102159,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MTAyMTU5","html_url":"https://github.com/aloetesting/aloe/pull/152","diff_url":"https://github.com/aloetesting/aloe/pull/152.diff","patch_url":"https://github.com/aloetesting/aloe/pull/152.patch","issue_url":"https://api.github.com/repos/aloetesting/aloe/issues/152","number":152,"state":"open","locked":false,"title":"Use utf-8 encoding for readme file in setup.py - closes #147","user":{"login":"nikolas","id":59292,"node_id":"MDQ6VXNlcjU5Mjky","avatar_url":"https://avatars3.githubusercontent.com/u/59292?v=4","gravatar_id":"","url":"https://api.github.com/users/nikolas","html_url":"https://github.com/nikolas","followers_url":"https://api.github.com/users/nikolas/followers","following_url":"https://api.github.com/users/nikolas/following{/other_user}","gists_url":"https://api.github.com/users/nikolas/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolas/subscriptions","organizations_url":"https://api.github.com/users/nikolas/orgs","repos_url":"https://api.github.com/users/nikolas/repos","events_url":"https://api.github.com/users/nikolas/events{/privacy}","received_events_url":"https://api.github.com/users/nikolas/received_events","type":"User","site_admin":false},"body":"This should fix the codec error.\r\n\r\nI've run into the same problem in CommonMark-py, and solved it in the same way: https://github.com/rtfd/CommonMark-py/blob/master/setup.py#L32","created_at":"2018-12-09T01:38:16Z","updated_at":"2018-12-09T13:33:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c89173f0c808130240b1f9c70b9ed5b775766501","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aloetesting/aloe/pulls/152/commits","review_comments_url":"https://api.github.com/repos/aloetesting/aloe/pulls/152/comments","review_comment_url":"https://api.github.com/repos/aloetesting/aloe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aloetesting/aloe/issues/152/comments","statuses_url":"https://api.github.com/repos/aloetesting/aloe/statuses/9b97768f3383fe421c5c7c2ca302a054ae4bad01","head":{"label":"nikolas:patch-5","ref":"patch-5","sha":"9b97768f3383fe421c5c7c2ca302a054ae4bad01","user":{"login":"nikolas","id":59292,"node_id":"MDQ6VXNlcjU5Mjky","avatar_url":"https://avatars3.githubusercontent.com/u/59292?v=4","gravatar_id":"","url":"https://api.github.com/users/nikolas","html_url":"https://github.com/nikolas","followers_url":"https://api.github.com/users/nikolas/followers","following_url":"https://api.github.com/users/nikolas/following{/other_user}","gists_url":"https://api.github.com/users/nikolas/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolas/subscriptions","organizations_url":"https://api.github.com/users/nikolas/orgs","repos_url":"https://api.github.com/users/nikolas/repos","events_url":"https://api.github.com/users/nikolas/events{/privacy}","received_events_url":"https://api.github.com/users/nikolas/received_events","type":"User","site_admin":false},"repo":{"id":50191447,"node_id":"MDEwOlJlcG9zaXRvcnk1MDE5MTQ0Nw==","name":"aloe","full_name":"nikolas/aloe","private":false,"owner":{"login":"nikolas","id":59292,"node_id":"MDQ6VXNlcjU5Mjky","avatar_url":"https://avatars3.githubusercontent.com/u/59292?v=4","gravatar_id":"","url":"https://api.github.com/users/nikolas","html_url":"https://github.com/nikolas","followers_url":"https://api.github.com/users/nikolas/followers","following_url":"https://api.github.com/users/nikolas/following{/other_user}","gists_url":"https://api.github.com/users/nikolas/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolas/subscriptions","organizations_url":"https://api.github.com/users/nikolas/orgs","repos_url":"https://api.github.com/users/nikolas/repos","events_url":"https://api.github.com/users/nikolas/events{/privacy}","received_events_url":"https://api.github.com/users/nikolas/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nikolas/aloe","description":"Behavior Driven Development using Cucumber for Python","fork":true,"url":"https://api.github.com/repos/nikolas/aloe","forks_url":"https://api.github.com/repos/nikolas/aloe/forks","keys_url":"https://api.github.com/repos/nikolas/aloe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nikolas/aloe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nikolas/aloe/teams","hooks_url":"https://api.github.com/repos/nikolas/aloe/hooks","issue_events_url":"https://api.github.com/repos/nikolas/aloe/issues/events{/number}","events_url":"https://api.github.com/repos/nikolas/aloe/events","assignees_url":"https://api.github.com/repos/nikolas/aloe/assignees{/user}","branches_url":"https://api.github.com/repos/nikolas/aloe/branches{/branch}","tags_url":"https://api.github.com/repos/nikolas/aloe/tags","blobs_url":"https://api.github.com/repos/nikolas/aloe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nikolas/aloe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nikolas/aloe/git/refs{/sha}","trees_url":"https://api.github.com/repos/nikolas/aloe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nikolas/aloe/statuses/{sha}","languages_url":"https://api.github.com/repos/nikolas/aloe/languages","stargazers_url":"https://api.github.com/repos/nikolas/aloe/stargazers","contributors_url":"https://api.github.com/repos/nikolas/aloe/contributors","subscribers_url":"https://api.github.com/repos/nikolas/aloe/subscribers","subscription_url":"https://api.github.com/repos/nikolas/aloe/subscription","commits_url":"https://api.github.com/repos/nikolas/aloe/commits{/sha}","git_commits_url":"https://api.github.com/repos/nikolas/aloe/git/commits{/sha}","comments_url":"https://api.github.com/repos/nikolas/aloe/comments{/number}","issue_comment_url":"https://api.github.com/repos/nikolas/aloe/issues/comments{/number}","contents_url":"https://api.github.com/repos/nikolas/aloe/contents/{+path}","compare_url":"https://api.github.com/repos/nikolas/aloe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nikolas/aloe/merges","archive_url":"https://api.github.com/repos/nikolas/aloe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nikolas/aloe/downloads","issues_url":"https://api.github.com/repos/nikolas/aloe/issues{/number}","pulls_url":"https://api.github.com/repos/nikolas/aloe/pulls{/number}","milestones_url":"https://api.github.com/repos/nikolas/aloe/milestones{/number}","notifications_url":"https://api.github.com/repos/nikolas/aloe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nikolas/aloe/labels{/name}","releases_url":"https://api.github.com/repos/nikolas/aloe/releases{/id}","deployments_url":"https://api.github.com/repos/nikolas/aloe/deployments","created_at":"2016-01-22T16:01:56Z","updated_at":"2016-01-22T16:01:57Z","pushed_at":"2018-12-09T01:37:59Z","git_url":"git://github.com/nikolas/aloe.git","ssh_url":"git@github.com:nikolas/aloe.git","clone_url":"https://github.com/nikolas/aloe.git","svn_url":"https://github.com/nikolas/aloe","homepage":"http://aloe.readthedocs.org/","size":15498,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aloetesting:master","ref":"master","sha":"ef21045b4092ef62755793349a2dc34b53cc8234","user":{"login":"aloetesting","id":16787608,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Nzg3NjA4","avatar_url":"https://avatars3.githubusercontent.com/u/16787608?v=4","gravatar_id":"","url":"https://api.github.com/users/aloetesting","html_url":"https://github.com/aloetesting","followers_url":"https://api.github.com/users/aloetesting/followers","following_url":"https://api.github.com/users/aloetesting/following{/other_user}","gists_url":"https://api.github.com/users/aloetesting/gists{/gist_id}","starred_url":"https://api.github.com/users/aloetesting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aloetesting/subscriptions","organizations_url":"https://api.github.com/users/aloetesting/orgs","repos_url":"https://api.github.com/users/aloetesting/repos","events_url":"https://api.github.com/users/aloetesting/events{/privacy}","received_events_url":"https://api.github.com/users/aloetesting/received_events","type":"Organization","site_admin":false},"repo":{"id":33724109,"node_id":"MDEwOlJlcG9zaXRvcnkzMzcyNDEwOQ==","name":"aloe","full_name":"aloetesting/aloe","private":false,"owner":{"login":"aloetesting","id":16787608,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Nzg3NjA4","avatar_url":"https://avatars3.githubusercontent.com/u/16787608?v=4","gravatar_id":"","url":"https://api.github.com/users/aloetesting","html_url":"https://github.com/aloetesting","followers_url":"https://api.github.com/users/aloetesting/followers","following_url":"https://api.github.com/users/aloetesting/following{/other_user}","gists_url":"https://api.github.com/users/aloetesting/gists{/gist_id}","starred_url":"https://api.github.com/users/aloetesting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aloetesting/subscriptions","organizations_url":"https://api.github.com/users/aloetesting/orgs","repos_url":"https://api.github.com/users/aloetesting/repos","events_url":"https://api.github.com/users/aloetesting/events{/privacy}","received_events_url":"https://api.github.com/users/aloetesting/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aloetesting/aloe","description":"Behavior Driven Development using Cucumber for Python","fork":false,"url":"https://api.github.com/repos/aloetesting/aloe","forks_url":"https://api.github.com/repos/aloetesting/aloe/forks","keys_url":"https://api.github.com/repos/aloetesting/aloe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aloetesting/aloe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aloetesting/aloe/teams","hooks_url":"https://api.github.com/repos/aloetesting/aloe/hooks","issue_events_url":"https://api.github.com/repos/aloetesting/aloe/issues/events{/number}","events_url":"https://api.github.com/repos/aloetesting/aloe/events","assignees_url":"https://api.github.com/repos/aloetesting/aloe/assignees{/user}","branches_url":"https://api.github.com/repos/aloetesting/aloe/branches{/branch}","tags_url":"https://api.github.com/repos/aloetesting/aloe/tags","blobs_url":"https://api.github.com/repos/aloetesting/aloe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aloetesting/aloe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aloetesting/aloe/git/refs{/sha}","trees_url":"https://api.github.com/repos/aloetesting/aloe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aloetesting/aloe/statuses/{sha}","languages_url":"https://api.github.com/repos/aloetesting/aloe/languages","stargazers_url":"https://api.github.com/repos/aloetesting/aloe/stargazers","contributors_url":"https://api.github.com/repos/aloetesting/aloe/contributors","subscribers_url":"https://api.github.com/repos/aloetesting/aloe/subscribers","subscription_url":"https://api.github.com/repos/aloetesting/aloe/subscription","commits_url":"https://api.github.com/repos/aloetesting/aloe/commits{/sha}","git_commits_url":"https://api.github.com/repos/aloetesting/aloe/git/commits{/sha}","comments_url":"https://api.github.com/repos/aloetesting/aloe/comments{/number}","issue_comment_url":"https://api.github.com/repos/aloetesting/aloe/issues/comments{/number}","contents_url":"https://api.github.com/repos/aloetesting/aloe/contents/{+path}","compare_url":"https://api.github.com/repos/aloetesting/aloe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aloetesting/aloe/merges","archive_url":"https://api.github.com/repos/aloetesting/aloe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aloetesting/aloe/downloads","issues_url":"https://api.github.com/repos/aloetesting/aloe/issues{/number}","pulls_url":"https://api.github.com/repos/aloetesting/aloe/pulls{/number}","milestones_url":"https://api.github.com/repos/aloetesting/aloe/milestones{/number}","notifications_url":"https://api.github.com/repos/aloetesting/aloe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aloetesting/aloe/labels{/name}","releases_url":"https://api.github.com/repos/aloetesting/aloe/releases{/id}","deployments_url":"https://api.github.com/repos/aloetesting/aloe/deployments","created_at":"2015-04-10T11:00:46Z","updated_at":"2018-12-04T16:57:48Z","pushed_at":"2018-12-09T01:38:16Z","git_url":"git://github.com/aloetesting/aloe.git","ssh_url":"git@github.com:aloetesting/aloe.git","clone_url":"https://github.com/aloetesting/aloe.git","svn_url":"https://github.com/aloetesting/aloe","homepage":"http://aloe.readthedocs.io/","size":15561,"stargazers_count":51,"watchers_count":51,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":14,"open_issues":12,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aloetesting/aloe/pulls/152"},"html":{"href":"https://github.com/aloetesting/aloe/pull/152"},"issue":{"href":"https://api.github.com/repos/aloetesting/aloe/issues/152"},"comments":{"href":"https://api.github.com/repos/aloetesting/aloe/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/aloetesting/aloe/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/aloetesting/aloe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aloetesting/aloe/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/aloetesting/aloe/statuses/9b97768f3383fe421c5c7c2ca302a054ae4bad01"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"koterpillar"}}