{"action":"created","issue":{"url":"https://api.github.com/repos/kyleniemeyer/irrev_mech/issues/3","repository_url":"https://api.github.com/repos/kyleniemeyer/irrev_mech","labels_url":"https://api.github.com/repos/kyleniemeyer/irrev_mech/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/kyleniemeyer/irrev_mech/issues/3/comments","events_url":"https://api.github.com/repos/kyleniemeyer/irrev_mech/issues/3/events","html_url":"https://github.com/kyleniemeyer/irrev_mech/pull/3","id":140852971,"number":3,"title":"Add setuptools","user":{"login":"bryanwweber","id":4396228,"avatar_url":"https://avatars.githubusercontent.com/u/4396228?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanwweber","html_url":"https://github.com/bryanwweber","followers_url":"https://api.github.com/users/bryanwweber/followers","following_url":"https://api.github.com/users/bryanwweber/following{/other_user}","gists_url":"https://api.github.com/users/bryanwweber/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanwweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanwweber/subscriptions","organizations_url":"https://api.github.com/users/bryanwweber/orgs","repos_url":"https://api.github.com/users/bryanwweber/repos","events_url":"https://api.github.com/users/bryanwweber/events{/privacy}","received_events_url":"https://api.github.com/users/bryanwweber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-15T02:30:30Z","updated_at":"2016-03-15T03:00:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kyleniemeyer/irrev_mech/pulls/3","html_url":"https://github.com/kyleniemeyer/irrev_mech/pull/3","diff_url":"https://github.com/kyleniemeyer/irrev_mech/pull/3.diff","patch_url":"https://github.com/kyleniemeyer/irrev_mech/pull/3.patch"},"body":"I like to work with these kinds of things as packages so they can be used in any folder, so I went and implemented that. Install it with `pip` or `python setup.py install`, or I'm going to build a conda package.  You can also use it as `python -m irrev_mech [options]` once its installed. I also wanted to make it compatible with Python 3, so I did that too. I didn't test it very thoroughly though, so I'm not sure if I broke anything with the compatibility update."},"comment":{"url":"https://api.github.com/repos/kyleniemeyer/irrev_mech/issues/comments/196629605","html_url":"https://github.com/kyleniemeyer/irrev_mech/pull/3#issuecomment-196629605","issue_url":"https://api.github.com/repos/kyleniemeyer/irrev_mech/issues/3","id":196629605,"user":{"login":"bryanwweber","id":4396228,"avatar_url":"https://avatars.githubusercontent.com/u/4396228?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanwweber","html_url":"https://github.com/bryanwweber","followers_url":"https://api.github.com/users/bryanwweber/followers","following_url":"https://api.github.com/users/bryanwweber/following{/other_user}","gists_url":"https://api.github.com/users/bryanwweber/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanwweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanwweber/subscriptions","organizations_url":"https://api.github.com/users/bryanwweber/orgs","repos_url":"https://api.github.com/users/bryanwweber/repos","events_url":"https://api.github.com/users/bryanwweber/events{/privacy}","received_events_url":"https://api.github.com/users/bryanwweber/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T03:00:37Z","updated_at":"2016-03-15T03:00:37Z","body":"OK great, thanks! Obviously feel free to modify the setup.py with any additional metadata, I went pretty minimal, and I picked a more-or-less random version number. I also wasn't sure how you'd want to implement the `main` method, so I left it in `irrev_mech.py` but it might make more sense in `__main__.py`."}}