{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/jupyter_core/issues/61","labels_url":"https://api.github.com/repos/jupyter/jupyter_core/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/jupyter_core/issues/61/comments","events_url":"https://api.github.com/repos/jupyter/jupyter_core/issues/61/events","html_url":"https://github.com/jupyter/jupyter_core/pull/61","id":108152350,"number":61,"title":"Use datarootdir for SYSTEM_JUPYTER_PATH","user":{"login":"jdemeyer","id":3625785,"avatar_url":"https://avatars.githubusercontent.com/u/3625785?v=3","gravatar_id":"","url":"https://api.github.com/users/jdemeyer","html_url":"https://github.com/jdemeyer","followers_url":"https://api.github.com/users/jdemeyer/followers","following_url":"https://api.github.com/users/jdemeyer/following{/other_user}","gists_url":"https://api.github.com/users/jdemeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/jdemeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdemeyer/subscriptions","organizations_url":"https://api.github.com/users/jdemeyer/orgs","repos_url":"https://api.github.com/users/jdemeyer/repos","events_url":"https://api.github.com/users/jdemeyer/events{/privacy}","received_events_url":"https://api.github.com/users/jdemeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jupyter/jupyter_core/milestones/1","html_url":"https://github.com/jupyter/jupyter_core/milestones/no%20action","labels_url":"https://api.github.com/repos/jupyter/jupyter_core/milestones/1/labels","id":1063949,"number":1,"title":"no action","description":null,"creator":{"login":"minrk","id":151929,"avatar_url":"https://avatars.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2015-04-12T18:45:51Z","updated_at":"2015-09-25T08:15:43Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2015-09-24T15:17:47Z","updated_at":"2015-09-25T11:48:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jupyter/jupyter_core/pulls/61","html_url":"https://github.com/jupyter/jupyter_core/pull/61","diff_url":"https://github.com/jupyter/jupyter_core/pull/61.diff","patch_url":"https://github.com/jupyter/jupyter_core/pull/61.patch"},"body":"Using `sysconfig.get_config_var(\"datarootdir\")` for the default `SYSTEM_JUPYTER_PATH` makes a lot more sense than a hard-coded `/usr/local/share/` directory.\r\n\r\nOne could even consider going further and just putting\r\n```\r\nSYSTEM_JUPYTER_PATH = [pjoin(sysconfig.get_config_var(\"datarootdir\"), 'jupyter')]\r\n```"},"comment":{"url":"https://api.github.com/repos/jupyter/jupyter_core/issues/comments/143194180","html_url":"https://github.com/jupyter/jupyter_core/pull/61#issuecomment-143194180","issue_url":"https://api.github.com/repos/jupyter/jupyter_core/issues/61","id":143194180,"user":{"login":"jdemeyer","id":3625785,"avatar_url":"https://avatars.githubusercontent.com/u/3625785?v=3","gravatar_id":"","url":"https://api.github.com/users/jdemeyer","html_url":"https://github.com/jdemeyer","followers_url":"https://api.github.com/users/jdemeyer/followers","following_url":"https://api.github.com/users/jdemeyer/following{/other_user}","gists_url":"https://api.github.com/users/jdemeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/jdemeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdemeyer/subscriptions","organizations_url":"https://api.github.com/users/jdemeyer/orgs","repos_url":"https://api.github.com/users/jdemeyer/repos","events_url":"https://api.github.com/users/jdemeyer/events{/privacy}","received_events_url":"https://api.github.com/users/jdemeyer/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T11:48:45Z","updated_at":"2015-09-25T11:48:45Z","body":"I agree with replacing `datarootdir` (which seems undocumented anyway) by `sys.prefix/share`."}}