{"action":"created","issue":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/518","repository_url":"https://api.github.com/repos/Unidata/netcdf4-python","labels_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/518/comments","events_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/518/events","html_url":"https://github.com/Unidata/netcdf4-python/pull/518","id":129587339,"number":518,"title":"Adjust setup.py to find netcdf and HDF5 on debian 8","user":{"login":"bluesquall","id":514022,"avatar_url":"https://avatars.githubusercontent.com/u/514022?v=3","gravatar_id":"","url":"https://api.github.com/users/bluesquall","html_url":"https://github.com/bluesquall","followers_url":"https://api.github.com/users/bluesquall/followers","following_url":"https://api.github.com/users/bluesquall/following{/other_user}","gists_url":"https://api.github.com/users/bluesquall/gists{/gist_id}","starred_url":"https://api.github.com/users/bluesquall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluesquall/subscriptions","organizations_url":"https://api.github.com/users/bluesquall/orgs","repos_url":"https://api.github.com/users/bluesquall/repos","events_url":"https://api.github.com/users/bluesquall/events{/privacy}","received_events_url":"https://api.github.com/users/bluesquall/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-28T21:26:10Z","updated_at":"2016-03-11T15:04:45Z","closed_at":"2016-01-28T23:02:37Z","pull_request":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/pulls/518","html_url":"https://github.com/Unidata/netcdf4-python/pull/518","diff_url":"https://github.com/Unidata/netcdf4-python/pull/518.diff","patch_url":"https://github.com/Unidata/netcdf4-python/pull/518.patch"},"body":"Use `pkg-config` to find appropriate compiler flags for dependencies.\r\n\r\nNote that has been tested for pip and python3.4.2 on a Debian8 vm using:\r\n```shell\r\n$ pip install -vvv git+ssh://github.com/bluesquall/netcdf4-python.git@debian-pkg-config#egg=netCDF4\r\n```\r\nthat is, without needing to manually set `USE_SETUPCFG=0`, `HDF5_INCDIR`, and `HDF5_LIBDIR` as in issues #438 and #430.\r\n\r\nOn this machine, the `netcdf-bin` package is *not* installed, so `nc-config` does not exist. On a related not, if `nc-config` were installed, it would return different values for the libraries and include directories than what `pkg-config` returns. This is probably a bug in `nc-config` upstream for Debian and variants, as noted in [this comment](https://github.com/Unidata/netcdf4-python/issues/438#issuecomment-123110407). I don't have time to dig into that deeper right now, but it's on my backburner list."},"comment":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/comments/195404034","html_url":"https://github.com/Unidata/netcdf4-python/pull/518#issuecomment-195404034","issue_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/518","id":195404034,"user":{"login":"jswhit","id":579593,"avatar_url":"https://avatars.githubusercontent.com/u/579593?v=3","gravatar_id":"","url":"https://api.github.com/users/jswhit","html_url":"https://github.com/jswhit","followers_url":"https://api.github.com/users/jswhit/followers","following_url":"https://api.github.com/users/jswhit/following{/other_user}","gists_url":"https://api.github.com/users/jswhit/gists{/gist_id}","starred_url":"https://api.github.com/users/jswhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jswhit/subscriptions","organizations_url":"https://api.github.com/users/jswhit/orgs","repos_url":"https://api.github.com/users/jswhit/repos","events_url":"https://api.github.com/users/jswhit/events{/privacy}","received_events_url":"https://api.github.com/users/jswhit/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T15:04:45Z","updated_at":"2016-03-11T15:04:45Z","body":"Sure, don't see why not."}}