{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/bretonr/Icarus/pulls/2","id":64998068,"html_url":"https://github.com/bretonr/Icarus/pull/2","diff_url":"https://github.com/bretonr/Icarus/pull/2.diff","patch_url":"https://github.com/bretonr/Icarus/pull/2.patch","issue_url":"https://api.github.com/repos/bretonr/Icarus/issues/2","number":2,"state":"closed","locked":false,"title":"adds setup.py and related files","user":{"login":"muddassir235","id":10301874,"avatar_url":"https://avatars.githubusercontent.com/u/10301874?v=3","gravatar_id":"","url":"https://api.github.com/users/muddassir235","html_url":"https://github.com/muddassir235","followers_url":"https://api.github.com/users/muddassir235/followers","following_url":"https://api.github.com/users/muddassir235/following{/other_user}","gists_url":"https://api.github.com/users/muddassir235/gists{/gist_id}","starred_url":"https://api.github.com/users/muddassir235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muddassir235/subscriptions","organizations_url":"https://api.github.com/users/muddassir235/orgs","repos_url":"https://api.github.com/users/muddassir235/repos","events_url":"https://api.github.com/users/muddassir235/events{/privacy}","received_events_url":"https://api.github.com/users/muddassir235/received_events","type":"User","site_admin":false},"body":"Hi Dr Breton,\r\n\r\nI have added setup.py and relevant files.\r\nIn order for \" import Icarus \" to work I had to make an Icarus directory inside the repository and copy all the packages (Atmosphere, Photometry e.t.c.) inside it, **otherwise** one had to import Atmosphere separately, Photometry separately e.t.c.  and ' import Icarus' didn't work.\r\nThis is a standard followed by various libraries like [scipy](https://github.com/scipy/scipy) and [astropy](https://github.com/astropy/astropy)  e.t.c.\r\n\r\nalso please review the `[setup.py](https://github.com/muddassir235/Icarus/blob/master/setup.py) `file\r\nand if you want any changes made please let me know.\r\n\r\nI had uploaded the project to pypi and it was bieng installed using \" `pip install Icarus` \" \r\n\r\nbut as I had used my pypi account, to upload the package, it was treating me as the owner. I have since pulled it down. :\r\n\r\nnow you will have to :\r\n\r\nin Windows:\r\n1. register on [pypi website](https://pypi.python.org/pypi) (if not registered yet).\r\n2. open cmd.exe and cd into the Icarus project folder containing the setup.py file.\r\n3. run the commands\r\n    - `python setup.py build`\r\n    - `python setup.py sdist`\r\n    - `python setup.py bdist_wheel --universal`\r\n    - `python setup.py register`\r\n    - '`pip install twine`' or ' `python -m pip install twine` ' (if you don't have twine installed yet)\r\n    - ' `twine upload dist/*` ' or ' `python -m twine upload dist/*` '\r\n    and done...\r\n\r\nthe python commands will be the same on other platforms.\r\n    ","created_at":"2016-04-01T20:07:03Z","updated_at":"2016-04-15T08:52:54Z","closed_at":"2016-04-15T08:52:54Z","merged_at":"2016-04-15T08:52:54Z","merge_commit_sha":"de00f7c1ddbf5dcd82faa106e4b91387ca0620b1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bretonr/Icarus/pulls/2/commits","review_comments_url":"https://api.github.com/repos/bretonr/Icarus/pulls/2/comments","review_comment_url":"https://api.github.com/repos/bretonr/Icarus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bretonr/Icarus/issues/2/comments","statuses_url":"https://api.github.com/repos/bretonr/Icarus/statuses/972737adae1852d40d7fc7d4d9dc6fd2ee8a4e30","head":{"label":"muddassir235:master","ref":"master","sha":"972737adae1852d40d7fc7d4d9dc6fd2ee8a4e30","user":{"login":"muddassir235","id":10301874,"avatar_url":"https://avatars.githubusercontent.com/u/10301874?v=3","gravatar_id":"","url":"https://api.github.com/users/muddassir235","html_url":"https://github.com/muddassir235","followers_url":"https://api.github.com/users/muddassir235/followers","following_url":"https://api.github.com/users/muddassir235/following{/other_user}","gists_url":"https://api.github.com/users/muddassir235/gists{/gist_id}","starred_url":"https://api.github.com/users/muddassir235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muddassir235/subscriptions","organizations_url":"https://api.github.com/users/muddassir235/orgs","repos_url":"https://api.github.com/users/muddassir235/repos","events_url":"https://api.github.com/users/muddassir235/events{/privacy}","received_events_url":"https://api.github.com/users/muddassir235/received_events","type":"User","site_admin":false},"repo":{"id":53776969,"name":"Icarus","full_name":"muddassir235/Icarus","owner":{"login":"muddassir235","id":10301874,"avatar_url":"https://avatars.githubusercontent.com/u/10301874?v=3","gravatar_id":"","url":"https://api.github.com/users/muddassir235","html_url":"https://github.com/muddassir235","followers_url":"https://api.github.com/users/muddassir235/followers","following_url":"https://api.github.com/users/muddassir235/following{/other_user}","gists_url":"https://api.github.com/users/muddassir235/gists{/gist_id}","starred_url":"https://api.github.com/users/muddassir235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muddassir235/subscriptions","organizations_url":"https://api.github.com/users/muddassir235/orgs","repos_url":"https://api.github.com/users/muddassir235/repos","events_url":"https://api.github.com/users/muddassir235/events{/privacy}","received_events_url":"https://api.github.com/users/muddassir235/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/muddassir235/Icarus","description":"Stellar binary light curve synthesis tool","fork":true,"url":"https://api.github.com/repos/muddassir235/Icarus","forks_url":"https://api.github.com/repos/muddassir235/Icarus/forks","keys_url":"https://api.github.com/repos/muddassir235/Icarus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muddassir235/Icarus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muddassir235/Icarus/teams","hooks_url":"https://api.github.com/repos/muddassir235/Icarus/hooks","issue_events_url":"https://api.github.com/repos/muddassir235/Icarus/issues/events{/number}","events_url":"https://api.github.com/repos/muddassir235/Icarus/events","assignees_url":"https://api.github.com/repos/muddassir235/Icarus/assignees{/user}","branches_url":"https://api.github.com/repos/muddassir235/Icarus/branches{/branch}","tags_url":"https://api.github.com/repos/muddassir235/Icarus/tags","blobs_url":"https://api.github.com/repos/muddassir235/Icarus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muddassir235/Icarus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muddassir235/Icarus/git/refs{/sha}","trees_url":"https://api.github.com/repos/muddassir235/Icarus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muddassir235/Icarus/statuses/{sha}","languages_url":"https://api.github.com/repos/muddassir235/Icarus/languages","stargazers_url":"https://api.github.com/repos/muddassir235/Icarus/stargazers","contributors_url":"https://api.github.com/repos/muddassir235/Icarus/contributors","subscribers_url":"https://api.github.com/repos/muddassir235/Icarus/subscribers","subscription_url":"https://api.github.com/repos/muddassir235/Icarus/subscription","commits_url":"https://api.github.com/repos/muddassir235/Icarus/commits{/sha}","git_commits_url":"https://api.github.com/repos/muddassir235/Icarus/git/commits{/sha}","comments_url":"https://api.github.com/repos/muddassir235/Icarus/comments{/number}","issue_comment_url":"https://api.github.com/repos/muddassir235/Icarus/issues/comments{/number}","contents_url":"https://api.github.com/repos/muddassir235/Icarus/contents/{+path}","compare_url":"https://api.github.com/repos/muddassir235/Icarus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muddassir235/Icarus/merges","archive_url":"https://api.github.com/repos/muddassir235/Icarus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muddassir235/Icarus/downloads","issues_url":"https://api.github.com/repos/muddassir235/Icarus/issues{/number}","pulls_url":"https://api.github.com/repos/muddassir235/Icarus/pulls{/number}","milestones_url":"https://api.github.com/repos/muddassir235/Icarus/milestones{/number}","notifications_url":"https://api.github.com/repos/muddassir235/Icarus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muddassir235/Icarus/labels{/name}","releases_url":"https://api.github.com/repos/muddassir235/Icarus/releases{/id}","deployments_url":"https://api.github.com/repos/muddassir235/Icarus/deployments","created_at":"2016-03-13T09:25:21Z","updated_at":"2016-03-13T09:25:22Z","pushed_at":"2016-04-04T06:24:24Z","git_url":"git://github.com/muddassir235/Icarus.git","ssh_url":"git@github.com:muddassir235/Icarus.git","clone_url":"https://github.com/muddassir235/Icarus.git","svn_url":"https://github.com/muddassir235/Icarus","homepage":"","size":9801,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"master"}},"base":{"label":"bretonr:master","ref":"master","sha":"297c49d30a06a93bb3b5c3d2e6a51a33866e9a03","user":{"login":"bretonr","id":57644,"avatar_url":"https://avatars.githubusercontent.com/u/57644?v=3","gravatar_id":"","url":"https://api.github.com/users/bretonr","html_url":"https://github.com/bretonr","followers_url":"https://api.github.com/users/bretonr/followers","following_url":"https://api.github.com/users/bretonr/following{/other_user}","gists_url":"https://api.github.com/users/bretonr/gists{/gist_id}","starred_url":"https://api.github.com/users/bretonr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretonr/subscriptions","organizations_url":"https://api.github.com/users/bretonr/orgs","repos_url":"https://api.github.com/users/bretonr/repos","events_url":"https://api.github.com/users/bretonr/events{/privacy}","received_events_url":"https://api.github.com/users/bretonr/received_events","type":"User","site_admin":false},"repo":{"id":3659092,"name":"Icarus","full_name":"bretonr/Icarus","owner":{"login":"bretonr","id":57644,"avatar_url":"https://avatars.githubusercontent.com/u/57644?v=3","gravatar_id":"","url":"https://api.github.com/users/bretonr","html_url":"https://github.com/bretonr","followers_url":"https://api.github.com/users/bretonr/followers","following_url":"https://api.github.com/users/bretonr/following{/other_user}","gists_url":"https://api.github.com/users/bretonr/gists{/gist_id}","starred_url":"https://api.github.com/users/bretonr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretonr/subscriptions","organizations_url":"https://api.github.com/users/bretonr/orgs","repos_url":"https://api.github.com/users/bretonr/repos","events_url":"https://api.github.com/users/bretonr/events{/privacy}","received_events_url":"https://api.github.com/users/bretonr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bretonr/Icarus","description":"Stellar binary light curve synthesis tool","fork":false,"url":"https://api.github.com/repos/bretonr/Icarus","forks_url":"https://api.github.com/repos/bretonr/Icarus/forks","keys_url":"https://api.github.com/repos/bretonr/Icarus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bretonr/Icarus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bretonr/Icarus/teams","hooks_url":"https://api.github.com/repos/bretonr/Icarus/hooks","issue_events_url":"https://api.github.com/repos/bretonr/Icarus/issues/events{/number}","events_url":"https://api.github.com/repos/bretonr/Icarus/events","assignees_url":"https://api.github.com/repos/bretonr/Icarus/assignees{/user}","branches_url":"https://api.github.com/repos/bretonr/Icarus/branches{/branch}","tags_url":"https://api.github.com/repos/bretonr/Icarus/tags","blobs_url":"https://api.github.com/repos/bretonr/Icarus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bretonr/Icarus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bretonr/Icarus/git/refs{/sha}","trees_url":"https://api.github.com/repos/bretonr/Icarus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bretonr/Icarus/statuses/{sha}","languages_url":"https://api.github.com/repos/bretonr/Icarus/languages","stargazers_url":"https://api.github.com/repos/bretonr/Icarus/stargazers","contributors_url":"https://api.github.com/repos/bretonr/Icarus/contributors","subscribers_url":"https://api.github.com/repos/bretonr/Icarus/subscribers","subscription_url":"https://api.github.com/repos/bretonr/Icarus/subscription","commits_url":"https://api.github.com/repos/bretonr/Icarus/commits{/sha}","git_commits_url":"https://api.github.com/repos/bretonr/Icarus/git/commits{/sha}","comments_url":"https://api.github.com/repos/bretonr/Icarus/comments{/number}","issue_comment_url":"https://api.github.com/repos/bretonr/Icarus/issues/comments{/number}","contents_url":"https://api.github.com/repos/bretonr/Icarus/contents/{+path}","compare_url":"https://api.github.com/repos/bretonr/Icarus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bretonr/Icarus/merges","archive_url":"https://api.github.com/repos/bretonr/Icarus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bretonr/Icarus/downloads","issues_url":"https://api.github.com/repos/bretonr/Icarus/issues{/number}","pulls_url":"https://api.github.com/repos/bretonr/Icarus/pulls{/number}","milestones_url":"https://api.github.com/repos/bretonr/Icarus/milestones{/number}","notifications_url":"https://api.github.com/repos/bretonr/Icarus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bretonr/Icarus/labels{/name}","releases_url":"https://api.github.com/repos/bretonr/Icarus/releases{/id}","deployments_url":"https://api.github.com/repos/bretonr/Icarus/deployments","created_at":"2012-03-08T10:50:44Z","updated_at":"2016-04-03T10:40:06Z","pushed_at":"2016-04-15T08:52:54Z","git_url":"git://github.com/bretonr/Icarus.git","ssh_url":"git@github.com:bretonr/Icarus.git","clone_url":"https://github.com/bretonr/Icarus.git","svn_url":"https://github.com/bretonr/Icarus","homepage":"","size":9801,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":1,"forks":12,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bretonr/Icarus/pulls/2"},"html":{"href":"https://github.com/bretonr/Icarus/pull/2"},"issue":{"href":"https://api.github.com/repos/bretonr/Icarus/issues/2"},"comments":{"href":"https://api.github.com/repos/bretonr/Icarus/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/bretonr/Icarus/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/bretonr/Icarus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bretonr/Icarus/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/bretonr/Icarus/statuses/972737adae1852d40d7fc7d4d9dc6fd2ee8a4e30"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bretonr","id":57644,"avatar_url":"https://avatars.githubusercontent.com/u/57644?v=3","gravatar_id":"","url":"https://api.github.com/users/bretonr","html_url":"https://github.com/bretonr","followers_url":"https://api.github.com/users/bretonr/followers","following_url":"https://api.github.com/users/bretonr/following{/other_user}","gists_url":"https://api.github.com/users/bretonr/gists{/gist_id}","starred_url":"https://api.github.com/users/bretonr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretonr/subscriptions","organizations_url":"https://api.github.com/users/bretonr/orgs","repos_url":"https://api.github.com/users/bretonr/repos","events_url":"https://api.github.com/users/bretonr/events{/privacy}","received_events_url":"https://api.github.com/users/bretonr/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":4,"additions":86,"deletions":0,"changed_files":57}}