{"action":"opened","number":371,"pull_request":{"url":"https://api.github.com/repos/stan-dev/pystan/pulls/371","id":140931750,"html_url":"https://github.com/stan-dev/pystan/pull/371","diff_url":"https://github.com/stan-dev/pystan/pull/371.diff","patch_url":"https://github.com/stan-dev/pystan/pull/371.patch","issue_url":"https://api.github.com/repos/stan-dev/pystan/issues/371","number":371,"state":"open","locked":false,"title":"Add Windows gcc support for model.py","user":{"login":"ahartikainen","id":13161958,"avatar_url":"https://avatars1.githubusercontent.com/u/13161958?v=4","gravatar_id":"","url":"https://api.github.com/users/ahartikainen","html_url":"https://github.com/ahartikainen","followers_url":"https://api.github.com/users/ahartikainen/followers","following_url":"https://api.github.com/users/ahartikainen/following{/other_user}","gists_url":"https://api.github.com/users/ahartikainen/gists{/gist_id}","starred_url":"https://api.github.com/users/ahartikainen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahartikainen/subscriptions","organizations_url":"https://api.github.com/users/ahartikainen/orgs","repos_url":"https://api.github.com/users/ahartikainen/repos","events_url":"https://api.github.com/users/ahartikainen/events{/privacy}","received_events_url":"https://api.github.com/users/ahartikainen/received_events","type":"User","site_admin":false},"body":"Add msvc 2017 support by importing from `setuptools`. Needs `setuptools >= 34.4.0`.\r\n\r\nAdd compiler keyword (default None). User can choose mingw32, gcc / msvc.\r\n\r\nOn windows, check with subprocess (quietly) if gcc is installed on the system. If found, use it else use 'msvc'.\r\n\r\n#### Summary:\r\n\r\nUpdate model.py to support gcc on Windows.\r\nAlso update for msvc 2017 (setuptools).\r\n\r\n#### Intended Effect:\r\n\r\nSupport gcc (MSYS2)\r\n\r\n#### How to Verify:\r\n\r\nRun on Windows with supported gcc compiler (MSYS2)\r\n\r\n#### Side Effects:\r\n\r\nAutomatically detect if gcc installed with `subprocess`\r\n\r\n#### Documentation:\r\n\r\nNeeds to be updated.\r\n\r\n#### Reviewer Suggestions: \r\n\r\n#### Copyright and Licensing\r\n\r\nPlease list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):\r\n\r\nBy submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:\r\n- Code: GPLv3 (http://opensource.org/licenses/GPL-3.0)\r\n- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)\r\n","created_at":"2017-09-13T21:13:56Z","updated_at":"2017-09-13T21:13:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/stan-dev/pystan/pulls/371/commits","review_comments_url":"https://api.github.com/repos/stan-dev/pystan/pulls/371/comments","review_comment_url":"https://api.github.com/repos/stan-dev/pystan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stan-dev/pystan/issues/371/comments","statuses_url":"https://api.github.com/repos/stan-dev/pystan/statuses/fc5dbefa02f4b37ee84f84d9d23cec676aa610c7","head":{"label":"ahartikainen:feature/issue-364-windows-support","ref":"feature/issue-364-windows-support","sha":"fc5dbefa02f4b37ee84f84d9d23cec676aa610c7","user":{"login":"ahartikainen","id":13161958,"avatar_url":"https://avatars1.githubusercontent.com/u/13161958?v=4","gravatar_id":"","url":"https://api.github.com/users/ahartikainen","html_url":"https://github.com/ahartikainen","followers_url":"https://api.github.com/users/ahartikainen/followers","following_url":"https://api.github.com/users/ahartikainen/following{/other_user}","gists_url":"https://api.github.com/users/ahartikainen/gists{/gist_id}","starred_url":"https://api.github.com/users/ahartikainen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahartikainen/subscriptions","organizations_url":"https://api.github.com/users/ahartikainen/orgs","repos_url":"https://api.github.com/users/ahartikainen/repos","events_url":"https://api.github.com/users/ahartikainen/events{/privacy}","received_events_url":"https://api.github.com/users/ahartikainen/received_events","type":"User","site_admin":false},"repo":{"id":83165607,"name":"pystan","full_name":"ahartikainen/pystan","owner":{"login":"ahartikainen","id":13161958,"avatar_url":"https://avatars1.githubusercontent.com/u/13161958?v=4","gravatar_id":"","url":"https://api.github.com/users/ahartikainen","html_url":"https://github.com/ahartikainen","followers_url":"https://api.github.com/users/ahartikainen/followers","following_url":"https://api.github.com/users/ahartikainen/following{/other_user}","gists_url":"https://api.github.com/users/ahartikainen/gists{/gist_id}","starred_url":"https://api.github.com/users/ahartikainen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahartikainen/subscriptions","organizations_url":"https://api.github.com/users/ahartikainen/orgs","repos_url":"https://api.github.com/users/ahartikainen/repos","events_url":"https://api.github.com/users/ahartikainen/events{/privacy}","received_events_url":"https://api.github.com/users/ahartikainen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahartikainen/pystan","description":"PyStan, the Python interface to Stan","fork":true,"url":"https://api.github.com/repos/ahartikainen/pystan","forks_url":"https://api.github.com/repos/ahartikainen/pystan/forks","keys_url":"https://api.github.com/repos/ahartikainen/pystan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahartikainen/pystan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahartikainen/pystan/teams","hooks_url":"https://api.github.com/repos/ahartikainen/pystan/hooks","issue_events_url":"https://api.github.com/repos/ahartikainen/pystan/issues/events{/number}","events_url":"https://api.github.com/repos/ahartikainen/pystan/events","assignees_url":"https://api.github.com/repos/ahartikainen/pystan/assignees{/user}","branches_url":"https://api.github.com/repos/ahartikainen/pystan/branches{/branch}","tags_url":"https://api.github.com/repos/ahartikainen/pystan/tags","blobs_url":"https://api.github.com/repos/ahartikainen/pystan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahartikainen/pystan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahartikainen/pystan/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahartikainen/pystan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahartikainen/pystan/statuses/{sha}","languages_url":"https://api.github.com/repos/ahartikainen/pystan/languages","stargazers_url":"https://api.github.com/repos/ahartikainen/pystan/stargazers","contributors_url":"https://api.github.com/repos/ahartikainen/pystan/contributors","subscribers_url":"https://api.github.com/repos/ahartikainen/pystan/subscribers","subscription_url":"https://api.github.com/repos/ahartikainen/pystan/subscription","commits_url":"https://api.github.com/repos/ahartikainen/pystan/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahartikainen/pystan/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahartikainen/pystan/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahartikainen/pystan/issues/comments{/number}","contents_url":"https://api.github.com/repos/ahartikainen/pystan/contents/{+path}","compare_url":"https://api.github.com/repos/ahartikainen/pystan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahartikainen/pystan/merges","archive_url":"https://api.github.com/repos/ahartikainen/pystan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahartikainen/pystan/downloads","issues_url":"https://api.github.com/repos/ahartikainen/pystan/issues{/number}","pulls_url":"https://api.github.com/repos/ahartikainen/pystan/pulls{/number}","milestones_url":"https://api.github.com/repos/ahartikainen/pystan/milestones{/number}","notifications_url":"https://api.github.com/repos/ahartikainen/pystan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahartikainen/pystan/labels{/name}","releases_url":"https://api.github.com/repos/ahartikainen/pystan/releases{/id}","deployments_url":"https://api.github.com/repos/ahartikainen/pystan/deployments","created_at":"2017-02-25T21:55:37Z","updated_at":"2017-02-25T21:55:39Z","pushed_at":"2017-09-13T20:59:45Z","git_url":"git://github.com/ahartikainen/pystan.git","ssh_url":"git@github.com:ahartikainen/pystan.git","clone_url":"https://github.com/ahartikainen/pystan.git","svn_url":"https://github.com/ahartikainen/pystan","homepage":"http://mc-stan.org/interfaces/pystan","size":55496,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"stan-dev:develop","ref":"develop","sha":"4683bc1eacdf5da24adfa3622b689c6fc32daf31","user":{"login":"stan-dev","id":3374820,"avatar_url":"https://avatars2.githubusercontent.com/u/3374820?v=4","gravatar_id":"","url":"https://api.github.com/users/stan-dev","html_url":"https://github.com/stan-dev","followers_url":"https://api.github.com/users/stan-dev/followers","following_url":"https://api.github.com/users/stan-dev/following{/other_user}","gists_url":"https://api.github.com/users/stan-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/stan-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stan-dev/subscriptions","organizations_url":"https://api.github.com/users/stan-dev/orgs","repos_url":"https://api.github.com/users/stan-dev/repos","events_url":"https://api.github.com/users/stan-dev/events{/privacy}","received_events_url":"https://api.github.com/users/stan-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":10256919,"name":"pystan","full_name":"stan-dev/pystan","owner":{"login":"stan-dev","id":3374820,"avatar_url":"https://avatars2.githubusercontent.com/u/3374820?v=4","gravatar_id":"","url":"https://api.github.com/users/stan-dev","html_url":"https://github.com/stan-dev","followers_url":"https://api.github.com/users/stan-dev/followers","following_url":"https://api.github.com/users/stan-dev/following{/other_user}","gists_url":"https://api.github.com/users/stan-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/stan-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stan-dev/subscriptions","organizations_url":"https://api.github.com/users/stan-dev/orgs","repos_url":"https://api.github.com/users/stan-dev/repos","events_url":"https://api.github.com/users/stan-dev/events{/privacy}","received_events_url":"https://api.github.com/users/stan-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stan-dev/pystan","description":"PyStan, the Python interface to Stan","fork":false,"url":"https://api.github.com/repos/stan-dev/pystan","forks_url":"https://api.github.com/repos/stan-dev/pystan/forks","keys_url":"https://api.github.com/repos/stan-dev/pystan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stan-dev/pystan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stan-dev/pystan/teams","hooks_url":"https://api.github.com/repos/stan-dev/pystan/hooks","issue_events_url":"https://api.github.com/repos/stan-dev/pystan/issues/events{/number}","events_url":"https://api.github.com/repos/stan-dev/pystan/events","assignees_url":"https://api.github.com/repos/stan-dev/pystan/assignees{/user}","branches_url":"https://api.github.com/repos/stan-dev/pystan/branches{/branch}","tags_url":"https://api.github.com/repos/stan-dev/pystan/tags","blobs_url":"https://api.github.com/repos/stan-dev/pystan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stan-dev/pystan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stan-dev/pystan/git/refs{/sha}","trees_url":"https://api.github.com/repos/stan-dev/pystan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stan-dev/pystan/statuses/{sha}","languages_url":"https://api.github.com/repos/stan-dev/pystan/languages","stargazers_url":"https://api.github.com/repos/stan-dev/pystan/stargazers","contributors_url":"https://api.github.com/repos/stan-dev/pystan/contributors","subscribers_url":"https://api.github.com/repos/stan-dev/pystan/subscribers","subscription_url":"https://api.github.com/repos/stan-dev/pystan/subscription","commits_url":"https://api.github.com/repos/stan-dev/pystan/commits{/sha}","git_commits_url":"https://api.github.com/repos/stan-dev/pystan/git/commits{/sha}","comments_url":"https://api.github.com/repos/stan-dev/pystan/comments{/number}","issue_comment_url":"https://api.github.com/repos/stan-dev/pystan/issues/comments{/number}","contents_url":"https://api.github.com/repos/stan-dev/pystan/contents/{+path}","compare_url":"https://api.github.com/repos/stan-dev/pystan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stan-dev/pystan/merges","archive_url":"https://api.github.com/repos/stan-dev/pystan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stan-dev/pystan/downloads","issues_url":"https://api.github.com/repos/stan-dev/pystan/issues{/number}","pulls_url":"https://api.github.com/repos/stan-dev/pystan/pulls{/number}","milestones_url":"https://api.github.com/repos/stan-dev/pystan/milestones{/number}","notifications_url":"https://api.github.com/repos/stan-dev/pystan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stan-dev/pystan/labels{/name}","releases_url":"https://api.github.com/repos/stan-dev/pystan/releases{/id}","deployments_url":"https://api.github.com/repos/stan-dev/pystan/deployments","created_at":"2013-05-24T01:21:21Z","updated_at":"2017-09-09T09:05:36Z","pushed_at":"2017-09-13T20:36:52Z","git_url":"git://github.com/stan-dev/pystan.git","ssh_url":"git@github.com:stan-dev/pystan.git","clone_url":"https://github.com/stan-dev/pystan.git","svn_url":"https://github.com/stan-dev/pystan","homepage":"http://mc-stan.org/interfaces/pystan","size":55528,"stargazers_count":373,"watchers_count":373,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":55,"forks":94,"open_issues":55,"watchers":373,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/stan-dev/pystan/pulls/371"},"html":{"href":"https://github.com/stan-dev/pystan/pull/371"},"issue":{"href":"https://api.github.com/repos/stan-dev/pystan/issues/371"},"comments":{"href":"https://api.github.com/repos/stan-dev/pystan/issues/371/comments"},"review_comments":{"href":"https://api.github.com/repos/stan-dev/pystan/pulls/371/comments"},"review_comment":{"href":"https://api.github.com/repos/stan-dev/pystan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stan-dev/pystan/pulls/371/commits"},"statuses":{"href":"https://api.github.com/repos/stan-dev/pystan/statuses/fc5dbefa02f4b37ee84f84d9d23cec676aa610c7"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":40,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"ahartikainen"}}