{"action":"opened","issue":{"url":"https://api.github.com/repos/arokem/python-matlab-bridge/issues/214","labels_url":"https://api.github.com/repos/arokem/python-matlab-bridge/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/arokem/python-matlab-bridge/issues/214/comments","events_url":"https://api.github.com/repos/arokem/python-matlab-bridge/issues/214/events","html_url":"https://github.com/arokem/python-matlab-bridge/issues/214","id":104694288,"number":214,"title":"Cannot pip install pymatbridge","user":{"login":"brunobeltran","id":1475390,"avatar_url":"https://avatars.githubusercontent.com/u/1475390?v=3","gravatar_id":"","url":"https://api.github.com/users/brunobeltran","html_url":"https://github.com/brunobeltran","followers_url":"https://api.github.com/users/brunobeltran/followers","following_url":"https://api.github.com/users/brunobeltran/following{/other_user}","gists_url":"https://api.github.com/users/brunobeltran/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobeltran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobeltran/subscriptions","organizations_url":"https://api.github.com/users/brunobeltran/orgs","repos_url":"https://api.github.com/users/brunobeltran/repos","events_url":"https://api.github.com/users/brunobeltran/events{/privacy}","received_events_url":"https://api.github.com/users/brunobeltran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-03T13:32:27Z","updated_at":"2015-09-03T13:32:27Z","closed_at":null,"body":"Title says it all. Due to the fact that the setup function requires the get_messenger_dir function, it imports one of pymatbridge's internal modules, which causes an unecessary import of nmpy and pyzmq before pip's install_requires can pull them in.\r\n\r\nThis can be solved in several ways. The simplest might be to separate this function into its own module that is imported by both setup.py and pymatbridge.messenger.make.\r\n\r\n@arokem I'm not sure how strongly you feel about the current organization of the project. If this simple change makes sense to you I can make another pull request."}}