{"action":"closed","issue":{"url":"https://api.github.com/repos/JohannesBuchner/imagehash/issues/4","labels_url":"https://api.github.com/repos/JohannesBuchner/imagehash/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/JohannesBuchner/imagehash/issues/4/comments","events_url":"https://api.github.com/repos/JohannesBuchner/imagehash/issues/4/events","html_url":"https://github.com/JohannesBuchner/imagehash/issues/4","id":30865975,"number":4,"title":"Make scipy an optional dependency","user":{"login":"svisser","id":723226,"avatar_url":"https://avatars.githubusercontent.com/u/723226?v=3","gravatar_id":"","url":"https://api.github.com/users/svisser","html_url":"https://github.com/svisser","followers_url":"https://api.github.com/users/svisser/followers","following_url":"https://api.github.com/users/svisser/following{/other_user}","gists_url":"https://api.github.com/users/svisser/gists{/gist_id}","starred_url":"https://api.github.com/users/svisser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svisser/subscriptions","organizations_url":"https://api.github.com/users/svisser/orgs","repos_url":"https://api.github.com/users/svisser/repos","events_url":"https://api.github.com/users/svisser/events{/privacy}","received_events_url":"https://api.github.com/users/svisser/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-04-04T14:41:35Z","updated_at":"2015-06-13T14:20:06Z","closed_at":"2015-06-13T14:20:06Z","body":"Currently both numpy and scipy are needed to install imagehash but this only makes sense when you're using the phash function. If you're using average_hash or dhash then you only need numpy.\r\n\r\nHence scipy should be marked as an optional dependency, both in the code and in setup.py.\r\n\r\nPeople can then install this library as needed by using, e.g., `pip install ImageHash` or `pip install ImageHash[pHash]` using the optional dependency functionality."}}