{"action":"created","issue":{"url":"https://api.github.com/repos/moyaproject/moya/issues/1","labels_url":"https://api.github.com/repos/moyaproject/moya/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/moyaproject/moya/issues/1/comments","events_url":"https://api.github.com/repos/moyaproject/moya/issues/1/events","html_url":"https://github.com/moyaproject/moya/issues/1","id":58226642,"number":1,"title":"CLI throwing syntax error","user":{"login":"blarghmatey","id":479088,"avatar_url":"https://avatars.githubusercontent.com/u/479088?v=3","gravatar_id":"","url":"https://api.github.com/users/blarghmatey","html_url":"https://github.com/blarghmatey","followers_url":"https://api.github.com/users/blarghmatey/followers","following_url":"https://api.github.com/users/blarghmatey/following{/other_user}","gists_url":"https://api.github.com/users/blarghmatey/gists{/gist_id}","starred_url":"https://api.github.com/users/blarghmatey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blarghmatey/subscriptions","organizations_url":"https://api.github.com/users/blarghmatey/orgs","repos_url":"https://api.github.com/users/blarghmatey/repos","events_url":"https://api.github.com/users/blarghmatey/events{/privacy}","received_events_url":"https://api.github.com/users/blarghmatey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-19T15:56:41Z","updated_at":"2015-02-19T16:31:36Z","closed_at":null,"body":"When I try to run `moya -h` from the command line I get the following stack trace:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/data/tmacey/.virtualenvs/moyatest/bin/moya\", line 9, in <module>\r\n    load_entry_point('moya==0.5.1', 'console_scripts', 'moya')()\r\n  File \"/data/tmacey/.virtualenvs/moyatest/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 521, in load_entry_point\r\n    return get_distribution(dist).load_entry_point(group, name)\r\n  File \"/data/tmacey/.virtualenvs/moyatest/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 2632, in load_entry_point\r\n    return ep.load()\r\n  File \"/data/tmacey/.virtualenvs/moyatest/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 2312, in load\r\n    return self.resolve()\r\n  File \"/data/tmacey/.virtualenvs/moyatest/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 2318, in resolve\r\n    module = __import__(self.module_name, fromlist=['__name__'], level=0)\r\n  File \"/data/tmacey/.virtualenvs/moyatest/lib/python3.4/site-packages/moya/command/app.py\", line 116\r\n    def run(self):\r\nSyntaxError: import * only allowed at module level\r\n```\r\n\r\nI am running it in a virtualenv with Python 3.4.2 and no other packages installed."},"comment":{"url":"https://api.github.com/repos/moyaproject/moya/issues/comments/75084080","html_url":"https://github.com/moyaproject/moya/issues/1#issuecomment-75084080","issue_url":"https://api.github.com/repos/moyaproject/moya/issues/1","id":75084080,"user":{"login":"willmcgugan","id":554369,"avatar_url":"https://avatars.githubusercontent.com/u/554369?v=3","gravatar_id":"","url":"https://api.github.com/users/willmcgugan","html_url":"https://github.com/willmcgugan","followers_url":"https://api.github.com/users/willmcgugan/followers","following_url":"https://api.github.com/users/willmcgugan/following{/other_user}","gists_url":"https://api.github.com/users/willmcgugan/gists{/gist_id}","starred_url":"https://api.github.com/users/willmcgugan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willmcgugan/subscriptions","organizations_url":"https://api.github.com/users/willmcgugan/orgs","repos_url":"https://api.github.com/users/willmcgugan/repos","events_url":"https://api.github.com/users/willmcgugan/events{/privacy}","received_events_url":"https://api.github.com/users/willmcgugan/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T16:31:36Z","updated_at":"2015-02-19T16:31:36Z","body":"Oddly I can't reproduce that. Although I do have a fix in mind.\r\n\r\nI guess this works?\r\n\r\n```moya help id```"}}