{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4332","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4332/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4332/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4332/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4332","id":59773495,"number":4332,"title":"[RFC] setup.py: Fix numpy installation","user":{"login":"saketkc","id":682153,"avatar_url":"https://avatars.githubusercontent.com/u/682153?v=3","gravatar_id":"","url":"https://api.github.com/users/saketkc","html_url":"https://github.com/saketkc","followers_url":"https://api.github.com/users/saketkc/followers","following_url":"https://api.github.com/users/saketkc/following{/other_user}","gists_url":"https://api.github.com/users/saketkc/gists{/gist_id}","starred_url":"https://api.github.com/users/saketkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saketkc/subscriptions","organizations_url":"https://api.github.com/users/saketkc/orgs","repos_url":"https://api.github.com/users/saketkc/repos","events_url":"https://api.github.com/users/saketkc/events{/privacy}","received_events_url":"https://api.github.com/users/saketkc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI","name":"Build / CI","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/milestones/12","html_url":"https://github.com/scikit-learn/scikit-learn/milestones/0.16","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/milestones/12/labels","id":527004,"number":12,"title":"0.16","description":"","creator":{"login":"GaelVaroquaux","id":208217,"avatar_url":"https://avatars.githubusercontent.com/u/208217?v=3","gravatar_id":"","url":"https://api.github.com/users/GaelVaroquaux","html_url":"https://github.com/GaelVaroquaux","followers_url":"https://api.github.com/users/GaelVaroquaux/followers","following_url":"https://api.github.com/users/GaelVaroquaux/following{/other_user}","gists_url":"https://api.github.com/users/GaelVaroquaux/gists{/gist_id}","starred_url":"https://api.github.com/users/GaelVaroquaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaelVaroquaux/subscriptions","organizations_url":"https://api.github.com/users/GaelVaroquaux/orgs","repos_url":"https://api.github.com/users/GaelVaroquaux/repos","events_url":"https://api.github.com/users/GaelVaroquaux/events{/privacy}","received_events_url":"https://api.github.com/users/GaelVaroquaux/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":95,"state":"open","created_at":"2014-01-05T21:19:20Z","updated_at":"2015-03-04T20:26:50Z","due_on":"2015-03-15T04:00:00Z","closed_at":null},"comments":14,"created_at":"2015-03-04T09:49:36Z","updated_at":"2015-03-05T00:35:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4332","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4332","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/4332.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/4332.patch"},"body":"Pass build_requires if numpy is not found\r\nFixes #4164\r\n\r\nRuns:\r\n- Doing `pip install .`\r\n```\r\n/scikit-learn$ pip install .\r\nUnpacking /media/data1/Development_Version_Controlled/OpenSource/saketkc/forks/scikit-learn\r\n  Running setup.py (path:/tmp/pip-ekp_12-build/setup.py) egg_info for package from file:///media/data1/Development_Version_Controlled/OpenSource/saketkc/forks/scikit-learn\r\n    Partial import of sklearn during the build process.\r\n    \r\nDownloading/unpacking numpy>=1.6.2 (from scikit-learn==0.16.dev)\r\n  Downloading numpy-1.9.2.tar.gz (4.0MB): 4.0MB downloaded\r\n\r\n```\r\n-  `python setup.py build`\r\n```\r\nscikit-learn$ python setup.py build\r\nPartial import of sklearn during the build process.\r\n[Error] Numpy is required to setup scikit-learn\r\nPlease install numpy from http://numpy.org\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/77282497","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4332#issuecomment-77282497","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4332","id":77282497,"user":{"login":"saketkc","id":682153,"avatar_url":"https://avatars.githubusercontent.com/u/682153?v=3","gravatar_id":"","url":"https://api.github.com/users/saketkc","html_url":"https://github.com/saketkc","followers_url":"https://api.github.com/users/saketkc/followers","following_url":"https://api.github.com/users/saketkc/following{/other_user}","gists_url":"https://api.github.com/users/saketkc/gists{/gist_id}","starred_url":"https://api.github.com/users/saketkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saketkc/subscriptions","organizations_url":"https://api.github.com/users/saketkc/orgs","repos_url":"https://api.github.com/users/saketkc/repos","events_url":"https://api.github.com/users/saketkc/events{/privacy}","received_events_url":"https://api.github.com/users/saketkc/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T00:35:08Z","updated_at":"2015-03-05T00:35:08Z","body":"Fixed. I can squash, if everything looks okay."}}