{"action":"created","issue":{"url":"https://api.github.com/repos/pv/scikits.bvp1lg/issues/1","labels_url":"https://api.github.com/repos/pv/scikits.bvp1lg/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pv/scikits.bvp1lg/issues/1/comments","events_url":"https://api.github.com/repos/pv/scikits.bvp1lg/issues/1/events","html_url":"https://github.com/pv/scikits.bvp1lg/issues/1","id":74277189,"number":1,"title":"Build problems on Mac OS X (blas_info['libraries'])","user":{"login":"mforbes","id":1028433,"avatar_url":"https://avatars.githubusercontent.com/u/1028433?v=3","gravatar_id":"","url":"https://api.github.com/users/mforbes","html_url":"https://github.com/mforbes","followers_url":"https://api.github.com/users/mforbes/followers","following_url":"https://api.github.com/users/mforbes/following{/other_user}","gists_url":"https://api.github.com/users/mforbes/gists{/gist_id}","starred_url":"https://api.github.com/users/mforbes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mforbes/subscriptions","organizations_url":"https://api.github.com/users/mforbes/orgs","repos_url":"https://api.github.com/users/mforbes/repos","events_url":"https://api.github.com/users/mforbes/events{/privacy}","received_events_url":"https://api.github.com/users/mforbes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-08T08:11:33Z","updated_at":"2015-05-09T13:41:03Z","closed_at":"2015-05-09T13:41:03Z","body":"When trying to build scikits.bvp1lg on Mac OS X without any BLAS installed, the build fails with an error:\r\n\r\n```\r\n...\r\n  File \"scikits/bvp1lg/setup.py\", line 34, in configuration\r\n    libraries=blas_info['libraries'],\r\nKeyError: 'libraries'\r\n```\r\n\r\nThe reason is that ``blas_info`` is:\r\n\r\n```\r\n>>> import numpy.distutils.system_info; numpy.distutils.system_info.get_info('lapack_opt')\r\n{'define_macros': [('NO_ATLAS_INFO', 3)],\r\n 'extra_compile_args': ['-msse3', '-DAPPLE_ACCELERATE_SGEMV_PATCH'],\r\n 'extra_link_args': ['-Wl,-framework', '-Wl,Accelerate']}\r\n```\r\n\r\nA proposed fix is to change the following lines in ``setup.py``:\r\n\r\n```diff\r\n-                         libraries=blas_info['libraries'],\r\n-                         library_dirs=blas_info['library_dirs'])\r\n+                         **blas_info)\r\n```\r\n\r\nI am not sure if this has other negative consequences but seems to work for me."},"comment":{"url":"https://api.github.com/repos/pv/scikits.bvp1lg/issues/comments/100485367","html_url":"https://github.com/pv/scikits.bvp1lg/issues/1#issuecomment-100485367","issue_url":"https://api.github.com/repos/pv/scikits.bvp1lg/issues/1","id":100485367,"user":{"login":"pv","id":35046,"avatar_url":"https://avatars.githubusercontent.com/u/35046?v=3","gravatar_id":"","url":"https://api.github.com/users/pv","html_url":"https://github.com/pv","followers_url":"https://api.github.com/users/pv/followers","following_url":"https://api.github.com/users/pv/following{/other_user}","gists_url":"https://api.github.com/users/pv/gists{/gist_id}","starred_url":"https://api.github.com/users/pv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pv/subscriptions","organizations_url":"https://api.github.com/users/pv/orgs","repos_url":"https://api.github.com/users/pv/repos","events_url":"https://api.github.com/users/pv/events{/privacy}","received_events_url":"https://api.github.com/users/pv/received_events","type":"User","site_admin":false},"created_at":"2015-05-09T13:41:03Z","updated_at":"2015-05-09T13:41:03Z","body":"Thanks, fixed."}}