{"action":"created","issue":{"url":"https://api.github.com/repos/arokem/python-matlab-bridge/issues/184","labels_url":"https://api.github.com/repos/arokem/python-matlab-bridge/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/arokem/python-matlab-bridge/issues/184/comments","events_url":"https://api.github.com/repos/arokem/python-matlab-bridge/issues/184/events","html_url":"https://github.com/arokem/python-matlab-bridge/issues/184","id":70756638,"number":184,"title":"Tests fail on current master","user":{"login":"arokem","id":118582,"avatar_url":"https://avatars.githubusercontent.com/u/118582?v=3","gravatar_id":"","url":"https://api.github.com/users/arokem","html_url":"https://github.com/arokem","followers_url":"https://api.github.com/users/arokem/followers","following_url":"https://api.github.com/users/arokem/following{/other_user}","gists_url":"https://api.github.com/users/arokem/gists{/gist_id}","starred_url":"https://api.github.com/users/arokem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arokem/subscriptions","organizations_url":"https://api.github.com/users/arokem/orgs","repos_url":"https://api.github.com/users/arokem/repos","events_url":"https://api.github.com/users/arokem/events{/privacy}","received_events_url":"https://api.github.com/users/arokem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-24T18:12:22Z","updated_at":"2015-05-04T06:26:59Z","closed_at":null,"body":"```\r\nD-173-250-157-207:~  $nosetests pymatbridge\r\n...........................EE.......\r\n======================================================================\r\nERROR: test_publish.test_convert_mfile\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/arokem/anaconda3/lib/python3.4/site-packages/nose-1.3.4-py3.4.egg/nose/case.py\", line 198, in runTest\r\n    self.test(*self.arg)\r\n  File \"/Users/arokem/anaconda3/lib/python3.4/site-packages/pymatbridge/tests/test_publish.py\", line 44, in test_convert_mfile\r\n    publish.convert_mfile(MFILE)\r\n  File \"/Users/arokem/anaconda3/lib/python3.4/site-packages/pymatbridge/publish.py\", line 125, in convert_mfile\r\n    lines = mfile_to_lines(mfile)\r\n  File \"/Users/arokem/anaconda3/lib/python3.4/site-packages/pymatbridge/publish.py\", line 53, in mfile_to_lines\r\n    with open(mfile) as fid:\r\nFileNotFoundError: [Errno 2] No such file or directory: '/Users/arokem/anaconda3/lib/python3.4/site-packages/pymatbridge/tests/test_publish.m'\r\n\r\n======================================================================\r\nERROR: test_publish.test_mfile_to_lines\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/arokem/anaconda3/lib/python3.4/site-packages/nose-1.3.4-py3.4.egg/nose/case.py\", line 198, in runTest\r\n    self.test(*self.arg)\r\n  File \"/Users/arokem/anaconda3/lib/python3.4/site-packages/pymatbridge/tests/test_publish.py\", line 54, in test_mfile_to_lines\r\n    lines = publish.mfile_to_lines(MFILE)\r\n  File \"/Users/arokem/anaconda3/lib/python3.4/site-packages/pymatbridge/publish.py\", line 53, in mfile_to_lines\r\n    with open(mfile) as fid:\r\nFileNotFoundError: [Errno 2] No such file or directory: '/Users/arokem/anaconda3/lib/python3.4/site-packages/pymatbridge/tests/test_publish.m'\r\n\r\n----------------------------------------------------------------------\r\nRan 36 tests in 205.857s\r\n\r\nFAILED (errors=2)\r\nD-173-250-157-207:~  $cd ~/source/python-matlab-bridge/\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/arokem/python-matlab-bridge/issues/comments/98596175","html_url":"https://github.com/arokem/python-matlab-bridge/issues/184#issuecomment-98596175","issue_url":"https://api.github.com/repos/arokem/python-matlab-bridge/issues/184","id":98596175,"user":{"login":"jjangsangy","id":3851682,"avatar_url":"https://avatars.githubusercontent.com/u/3851682?v=3","gravatar_id":"","url":"https://api.github.com/users/jjangsangy","html_url":"https://github.com/jjangsangy","followers_url":"https://api.github.com/users/jjangsangy/followers","following_url":"https://api.github.com/users/jjangsangy/following{/other_user}","gists_url":"https://api.github.com/users/jjangsangy/gists{/gist_id}","starred_url":"https://api.github.com/users/jjangsangy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjangsangy/subscriptions","organizations_url":"https://api.github.com/users/jjangsangy/orgs","repos_url":"https://api.github.com/users/jjangsangy/repos","events_url":"https://api.github.com/users/jjangsangy/events{/privacy}","received_events_url":"https://api.github.com/users/jjangsangy/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T06:26:59Z","updated_at":"2015-05-04T06:26:59Z","body":"It looks the file not found error isn't able to find the `.m` from your `site-packages` directory.\r\n\r\n```\r\nFileNotFoundError: [Errno 2] No such file or directory: '/Users/arokem/anaconda3/lib/python3.4/site-packages/pymatbridge/tests/test_publish.m'\r\n```\r\n\r\nI went and checked, and it doesn't look like we include the `*.m` files in the `package_data` from these lines.\r\n\r\nhttps://github.com/arokem/python-matlab-bridge/blob/master/pymatbridge/version.py#L78-L85"}}