{"action":"created","issue":{"url":"https://api.github.com/repos/menpo/cyvlfeat/issues/14","repository_url":"https://api.github.com/repos/menpo/cyvlfeat","labels_url":"https://api.github.com/repos/menpo/cyvlfeat/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/menpo/cyvlfeat/issues/14/comments","events_url":"https://api.github.com/repos/menpo/cyvlfeat/issues/14/events","html_url":"https://github.com/menpo/cyvlfeat/issues/14","id":156151301,"number":14,"title":"pip install cyvlfeat doesn't work sometimes","user":{"login":"AbdealiJK","id":2200743,"avatar_url":"https://avatars.githubusercontent.com/u/2200743?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdealiJK","html_url":"https://github.com/AbdealiJK","followers_url":"https://api.github.com/users/AbdealiJK/followers","following_url":"https://api.github.com/users/AbdealiJK/following{/other_user}","gists_url":"https://api.github.com/users/AbdealiJK/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdealiJK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdealiJK/subscriptions","organizations_url":"https://api.github.com/users/AbdealiJK/orgs","repos_url":"https://api.github.com/users/AbdealiJK/repos","events_url":"https://api.github.com/users/AbdealiJK/events{/privacy}","received_events_url":"https://api.github.com/users/AbdealiJK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-22T13:05:31Z","updated_at":"2016-05-22T14:23:29Z","closed_at":null,"body":"When setting up travis, i realized `pip install cyvlfeat` doesn't *just work*.\r\n\r\nIt needs cython and numpy installed beforehand. While this is reasonable, it would be nice to be able to just run `pip install cyvlfeat` and not worry about such things ( That's what package managers are for :) )\r\n\r\nsetuptools has a `setup_requires` which I think is meant for this ? (I haven't used it before)\r\nI found [h5py's setup](https://github.com/h5py/h5py/blob/master/setup.py) adds cython in setup_requires  and also [this SO question](http://stackoverflow.com/questions/21605927/why-doesnt-setup-requires-work-properly-for-numpy) is something which tries to do the same with numpy."},"comment":{"url":"https://api.github.com/repos/menpo/cyvlfeat/issues/comments/220835149","html_url":"https://github.com/menpo/cyvlfeat/issues/14#issuecomment-220835149","issue_url":"https://api.github.com/repos/menpo/cyvlfeat/issues/14","id":220835149,"user":{"login":"jabooth","id":1312873,"avatar_url":"https://avatars.githubusercontent.com/u/1312873?v=3","gravatar_id":"","url":"https://api.github.com/users/jabooth","html_url":"https://github.com/jabooth","followers_url":"https://api.github.com/users/jabooth/followers","following_url":"https://api.github.com/users/jabooth/following{/other_user}","gists_url":"https://api.github.com/users/jabooth/gists{/gist_id}","starred_url":"https://api.github.com/users/jabooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabooth/subscriptions","organizations_url":"https://api.github.com/users/jabooth/orgs","repos_url":"https://api.github.com/users/jabooth/repos","events_url":"https://api.github.com/users/jabooth/events{/privacy}","received_events_url":"https://api.github.com/users/jabooth/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T14:23:29Z","updated_at":"2016-05-22T14:23:29Z","body":"I made a start on grouping the logic for pandas-style setup.py into a single-file module that can be placed next to `setup.py` on this branch https://github.com/jabooth/menpo/tree/optcython\r\n\r\nThe idea being - we write this properly once, and then can reuse that logic across all packages (like versioneer). Perhaps cyvlfeat is a nice testing ground for it?\r\n\r\nThat branch is a little noisy as it includes a bunch of changes internal to menpo - the key thing to look at is just `setup.py`:\r\n\r\nhttps://github.com/jabooth/menpo/blob/optcython/setup.py\r\n\r\nand `extmanager.py`:\r\n\r\nhttps://github.com/jabooth/menpo/blob/optcython/extmanager.py\r\n"}}
{"actor":{"display_login":"jabooth"}}