{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/willnx/vlab_cli/pulls/5","id":216404984,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NDA0OTg0","html_url":"https://github.com/willnx/vlab_cli/pull/5","diff_url":"https://github.com/willnx/vlab_cli/pull/5.diff","patch_url":"https://github.com/willnx/vlab_cli/pull/5.patch","issue_url":"https://api.github.com/repos/willnx/vlab_cli/issues/5","number":5,"state":"open","locked":false,"title":"Users want an MSI instead of a Python package","user":{"login":"willnx","id":12264343,"node_id":"MDQ6VXNlcjEyMjY0MzQz","avatar_url":"https://avatars0.githubusercontent.com/u/12264343?v=4","gravatar_id":"","url":"https://api.github.com/users/willnx","html_url":"https://github.com/willnx","followers_url":"https://api.github.com/users/willnx/followers","following_url":"https://api.github.com/users/willnx/following{/other_user}","gists_url":"https://api.github.com/users/willnx/gists{/gist_id}","starred_url":"https://api.github.com/users/willnx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willnx/subscriptions","organizations_url":"https://api.github.com/users/willnx/orgs","repos_url":"https://api.github.com/users/willnx/repos","events_url":"https://api.github.com/users/willnx/events{/privacy}","received_events_url":"https://api.github.com/users/willnx/received_events","type":"User","site_admin":false},"body":"Installing the vLab CLI would be much easier for users if we just gave them an MSI.\r\n\r\nWhile playing around different Python libs for this, I found that [cx_Freeze](https://cx-freeze.readthedocs.io/en/latest/) seems to be the most compatible. Other libs seem to be limited to Python 3.4/2.7 and older.\r\n\r\nThis PR contains two things:\r\n1) A fix for versioning - for some reason, cx_Freeze didn't like the use `pkg_resources` inside `vlab_cli` for determining the version being used. I'm addressing this by making use of the `__version__` magic method, and referencing it in the 3 places a version is referenced (`setup.py`, `vlab_cli/vlab.py` and in the `api.py` file where we include the version in our HTTP user agent).\r\n2) _All the things_ so we can build an MSI. For some reason, building a normal Python wheel via the same `setup.py` file as the one used by cx_Freeze didn't go well. I think it's because we have to import `setup` from cx_Freeze, but /shrug...","created_at":"2018-09-18T18:39:58Z","updated_at":"2018-09-18T18:39:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/willnx/vlab_cli/pulls/5/commits","review_comments_url":"https://api.github.com/repos/willnx/vlab_cli/pulls/5/comments","review_comment_url":"https://api.github.com/repos/willnx/vlab_cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/willnx/vlab_cli/issues/5/comments","statuses_url":"https://api.github.com/repos/willnx/vlab_cli/statuses/3fc3525dbb8fed5676ce2549040ac00ef6e8d0ac","head":{"label":"willnx:feat_msi","ref":"feat_msi","sha":"3fc3525dbb8fed5676ce2549040ac00ef6e8d0ac","user":{"login":"willnx","id":12264343,"node_id":"MDQ6VXNlcjEyMjY0MzQz","avatar_url":"https://avatars0.githubusercontent.com/u/12264343?v=4","gravatar_id":"","url":"https://api.github.com/users/willnx","html_url":"https://github.com/willnx","followers_url":"https://api.github.com/users/willnx/followers","following_url":"https://api.github.com/users/willnx/following{/other_user}","gists_url":"https://api.github.com/users/willnx/gists{/gist_id}","starred_url":"https://api.github.com/users/willnx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willnx/subscriptions","organizations_url":"https://api.github.com/users/willnx/orgs","repos_url":"https://api.github.com/users/willnx/repos","events_url":"https://api.github.com/users/willnx/events{/privacy}","received_events_url":"https://api.github.com/users/willnx/received_events","type":"User","site_admin":false},"repo":{"id":143441223,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM0NDEyMjM=","name":"vlab_cli","full_name":"willnx/vlab_cli","private":false,"owner":{"login":"willnx","id":12264343,"node_id":"MDQ6VXNlcjEyMjY0MzQz","avatar_url":"https://avatars0.githubusercontent.com/u/12264343?v=4","gravatar_id":"","url":"https://api.github.com/users/willnx","html_url":"https://github.com/willnx","followers_url":"https://api.github.com/users/willnx/followers","following_url":"https://api.github.com/users/willnx/following{/other_user}","gists_url":"https://api.github.com/users/willnx/gists{/gist_id}","starred_url":"https://api.github.com/users/willnx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willnx/subscriptions","organizations_url":"https://api.github.com/users/willnx/orgs","repos_url":"https://api.github.com/users/willnx/repos","events_url":"https://api.github.com/users/willnx/events{/privacy}","received_events_url":"https://api.github.com/users/willnx/received_events","type":"User","site_admin":false},"html_url":"https://github.com/willnx/vlab_cli","description":"CLI client for vLab","fork":false,"url":"https://api.github.com/repos/willnx/vlab_cli","forks_url":"https://api.github.com/repos/willnx/vlab_cli/forks","keys_url":"https://api.github.com/repos/willnx/vlab_cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/willnx/vlab_cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/willnx/vlab_cli/teams","hooks_url":"https://api.github.com/repos/willnx/vlab_cli/hooks","issue_events_url":"https://api.github.com/repos/willnx/vlab_cli/issues/events{/number}","events_url":"https://api.github.com/repos/willnx/vlab_cli/events","assignees_url":"https://api.github.com/repos/willnx/vlab_cli/assignees{/user}","branches_url":"https://api.github.com/repos/willnx/vlab_cli/branches{/branch}","tags_url":"https://api.github.com/repos/willnx/vlab_cli/tags","blobs_url":"https://api.github.com/repos/willnx/vlab_cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/willnx/vlab_cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/willnx/vlab_cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/willnx/vlab_cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/willnx/vlab_cli/statuses/{sha}","languages_url":"https://api.github.com/repos/willnx/vlab_cli/languages","stargazers_url":"https://api.github.com/repos/willnx/vlab_cli/stargazers","contributors_url":"https://api.github.com/repos/willnx/vlab_cli/contributors","subscribers_url":"https://api.github.com/repos/willnx/vlab_cli/subscribers","subscription_url":"https://api.github.com/repos/willnx/vlab_cli/subscription","commits_url":"https://api.github.com/repos/willnx/vlab_cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/willnx/vlab_cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/willnx/vlab_cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/willnx/vlab_cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/willnx/vlab_cli/contents/{+path}","compare_url":"https://api.github.com/repos/willnx/vlab_cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/willnx/vlab_cli/merges","archive_url":"https://api.github.com/repos/willnx/vlab_cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/willnx/vlab_cli/downloads","issues_url":"https://api.github.com/repos/willnx/vlab_cli/issues{/number}","pulls_url":"https://api.github.com/repos/willnx/vlab_cli/pulls{/number}","milestones_url":"https://api.github.com/repos/willnx/vlab_cli/milestones{/number}","notifications_url":"https://api.github.com/repos/willnx/vlab_cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/willnx/vlab_cli/labels{/name}","releases_url":"https://api.github.com/repos/willnx/vlab_cli/releases{/id}","deployments_url":"https://api.github.com/repos/willnx/vlab_cli/deployments","created_at":"2018-08-03T15:03:37Z","updated_at":"2018-09-17T22:22:53Z","pushed_at":"2018-09-18T18:23:06Z","git_url":"git://github.com/willnx/vlab_cli.git","ssh_url":"git@github.com:willnx/vlab_cli.git","clone_url":"https://github.com/willnx/vlab_cli.git","svn_url":"https://github.com/willnx/vlab_cli","homepage":null,"size":40,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"willnx:master","ref":"master","sha":"da56c6592cb37f216f2056ab8141f640382b0b9a","user":{"login":"willnx","id":12264343,"node_id":"MDQ6VXNlcjEyMjY0MzQz","avatar_url":"https://avatars0.githubusercontent.com/u/12264343?v=4","gravatar_id":"","url":"https://api.github.com/users/willnx","html_url":"https://github.com/willnx","followers_url":"https://api.github.com/users/willnx/followers","following_url":"https://api.github.com/users/willnx/following{/other_user}","gists_url":"https://api.github.com/users/willnx/gists{/gist_id}","starred_url":"https://api.github.com/users/willnx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willnx/subscriptions","organizations_url":"https://api.github.com/users/willnx/orgs","repos_url":"https://api.github.com/users/willnx/repos","events_url":"https://api.github.com/users/willnx/events{/privacy}","received_events_url":"https://api.github.com/users/willnx/received_events","type":"User","site_admin":false},"repo":{"id":143441223,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM0NDEyMjM=","name":"vlab_cli","full_name":"willnx/vlab_cli","private":false,"owner":{"login":"willnx","id":12264343,"node_id":"MDQ6VXNlcjEyMjY0MzQz","avatar_url":"https://avatars0.githubusercontent.com/u/12264343?v=4","gravatar_id":"","url":"https://api.github.com/users/willnx","html_url":"https://github.com/willnx","followers_url":"https://api.github.com/users/willnx/followers","following_url":"https://api.github.com/users/willnx/following{/other_user}","gists_url":"https://api.github.com/users/willnx/gists{/gist_id}","starred_url":"https://api.github.com/users/willnx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willnx/subscriptions","organizations_url":"https://api.github.com/users/willnx/orgs","repos_url":"https://api.github.com/users/willnx/repos","events_url":"https://api.github.com/users/willnx/events{/privacy}","received_events_url":"https://api.github.com/users/willnx/received_events","type":"User","site_admin":false},"html_url":"https://github.com/willnx/vlab_cli","description":"CLI client for vLab","fork":false,"url":"https://api.github.com/repos/willnx/vlab_cli","forks_url":"https://api.github.com/repos/willnx/vlab_cli/forks","keys_url":"https://api.github.com/repos/willnx/vlab_cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/willnx/vlab_cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/willnx/vlab_cli/teams","hooks_url":"https://api.github.com/repos/willnx/vlab_cli/hooks","issue_events_url":"https://api.github.com/repos/willnx/vlab_cli/issues/events{/number}","events_url":"https://api.github.com/repos/willnx/vlab_cli/events","assignees_url":"https://api.github.com/repos/willnx/vlab_cli/assignees{/user}","branches_url":"https://api.github.com/repos/willnx/vlab_cli/branches{/branch}","tags_url":"https://api.github.com/repos/willnx/vlab_cli/tags","blobs_url":"https://api.github.com/repos/willnx/vlab_cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/willnx/vlab_cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/willnx/vlab_cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/willnx/vlab_cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/willnx/vlab_cli/statuses/{sha}","languages_url":"https://api.github.com/repos/willnx/vlab_cli/languages","stargazers_url":"https://api.github.com/repos/willnx/vlab_cli/stargazers","contributors_url":"https://api.github.com/repos/willnx/vlab_cli/contributors","subscribers_url":"https://api.github.com/repos/willnx/vlab_cli/subscribers","subscription_url":"https://api.github.com/repos/willnx/vlab_cli/subscription","commits_url":"https://api.github.com/repos/willnx/vlab_cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/willnx/vlab_cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/willnx/vlab_cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/willnx/vlab_cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/willnx/vlab_cli/contents/{+path}","compare_url":"https://api.github.com/repos/willnx/vlab_cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/willnx/vlab_cli/merges","archive_url":"https://api.github.com/repos/willnx/vlab_cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/willnx/vlab_cli/downloads","issues_url":"https://api.github.com/repos/willnx/vlab_cli/issues{/number}","pulls_url":"https://api.github.com/repos/willnx/vlab_cli/pulls{/number}","milestones_url":"https://api.github.com/repos/willnx/vlab_cli/milestones{/number}","notifications_url":"https://api.github.com/repos/willnx/vlab_cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/willnx/vlab_cli/labels{/name}","releases_url":"https://api.github.com/repos/willnx/vlab_cli/releases{/id}","deployments_url":"https://api.github.com/repos/willnx/vlab_cli/deployments","created_at":"2018-08-03T15:03:37Z","updated_at":"2018-09-17T22:22:53Z","pushed_at":"2018-09-18T18:23:06Z","git_url":"git://github.com/willnx/vlab_cli.git","ssh_url":"git@github.com:willnx/vlab_cli.git","clone_url":"https://github.com/willnx/vlab_cli.git","svn_url":"https://github.com/willnx/vlab_cli","homepage":null,"size":40,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/willnx/vlab_cli/pulls/5"},"html":{"href":"https://github.com/willnx/vlab_cli/pull/5"},"issue":{"href":"https://api.github.com/repos/willnx/vlab_cli/issues/5"},"comments":{"href":"https://api.github.com/repos/willnx/vlab_cli/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/willnx/vlab_cli/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/willnx/vlab_cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/willnx/vlab_cli/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/willnx/vlab_cli/statuses/3fc3525dbb8fed5676ce2549040ac00ef6e8d0ac"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":59,"deletions":7,"changed_files":9}}
{"actor":{"display_login":"willnx"}}