{"action":"created","issue":{"url":"https://api.github.com/repos/StarryPy/StarryPy/issues/156","labels_url":"https://api.github.com/repos/StarryPy/StarryPy/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/StarryPy/StarryPy/issues/156/comments","events_url":"https://api.github.com/repos/StarryPy/StarryPy/issues/156/events","html_url":"https://github.com/StarryPy/StarryPy/issues/156","id":117748021,"number":156,"title":"Make starrypy an installable python package (and available on pypi)","user":{"login":"campbellr","id":205752,"avatar_url":"https://avatars.githubusercontent.com/u/205752?v=3","gravatar_id":"","url":"https://api.github.com/users/campbellr","html_url":"https://github.com/campbellr","followers_url":"https://api.github.com/users/campbellr/followers","following_url":"https://api.github.com/users/campbellr/following{/other_user}","gists_url":"https://api.github.com/users/campbellr/gists{/gist_id}","starred_url":"https://api.github.com/users/campbellr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campbellr/subscriptions","organizations_url":"https://api.github.com/users/campbellr/orgs","repos_url":"https://api.github.com/users/campbellr/repos","events_url":"https://api.github.com/users/campbellr/events{/privacy}","received_events_url":"https://api.github.com/users/campbellr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-19T06:06:37Z","updated_at":"2015-11-20T03:15:53Z","closed_at":null,"body":"I'm interested in turning starrypy into a proper, installable python package, but i wanted to start some discussion to see if there are any issues or if anyone was strongly opposed before I put too much effort into it.\r\n\r\nFrom my limited understanding of the codebase so far, it looks like this would basically involve:\r\n* Moving everything under a `starrypy` package. eg: `config.py` becomes `starrypy/config.py`\r\n* Slight refactoring of `server.py` so we can create a `console_scripts` entrypoint[ [1]](http://python-packaging.readthedocs.org/en/latest/command-line-scripts.html#the-console-scripts-entry-point)\r\n* Reworking how the config file is handled (putting the config file in `config/` is no longer appropriate for an installed package, which would be somewhere under `/usr/local/lib/python2.7/site-packages/`)\r\n    * make `server.py` and `ConfigurationManager` accept a config file as input\r\n    * default to `~/.starrypy/config.json`?\r\n* Move persistent storage (sqlite db etc...) out of package\r\n   * maybe into `~/.starrypy` too?\r\n* Creating a `setup.py`\r\n* Registering the project on pypi and uploading it (would need to be done by a maintainer, not me)\r\n* And probably other stuff that i haven't thought of...\r\n\r\n\r\nI'd appreciate any thoughts."},"comment":{"url":"https://api.github.com/repos/StarryPy/StarryPy/issues/comments/158266872","html_url":"https://github.com/StarryPy/StarryPy/issues/156#issuecomment-158266872","issue_url":"https://api.github.com/repos/StarryPy/StarryPy/issues/156","id":158266872,"user":{"login":"campbellr","id":205752,"avatar_url":"https://avatars.githubusercontent.com/u/205752?v=3","gravatar_id":"","url":"https://api.github.com/users/campbellr","html_url":"https://github.com/campbellr","followers_url":"https://api.github.com/users/campbellr/followers","following_url":"https://api.github.com/users/campbellr/following{/other_user}","gists_url":"https://api.github.com/users/campbellr/gists{/gist_id}","starred_url":"https://api.github.com/users/campbellr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campbellr/subscriptions","organizations_url":"https://api.github.com/users/campbellr/orgs","repos_url":"https://api.github.com/users/campbellr/repos","events_url":"https://api.github.com/users/campbellr/events{/privacy}","received_events_url":"https://api.github.com/users/campbellr/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T03:15:53Z","updated_at":"2015-11-20T03:15:53Z","body":"Hi @kamilion thanks for the reply.\r\n\r\nI haven't even looked at StarryPy3k (i had actually assumed it was dead), but bringing it up to date sounds like a fairly large task...\r\n\r\nI also actually run starrypy on pypy for performance reasons (i have a anemic vm) so python3 support doesn't seem particularly useful for me (unless there are other compelling improvements in starrypy3k?)\r\n\r\nAnyways, I'll try to finish up the patches i have on this project (so far it's been pretty minor changes, and even if they don't end up getting merged in, it still seems like a worthwhile exercise) and then start poking at starrypy3k."}}