{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/1230","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1230/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1230/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1230/events","html_url":"https://github.com/spyder-ide/spyder/issues/1230","id":57966603,"number":1230,"title":"Better handle for mathjax and jquery embeded libraries on linux systems","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/2%E2%80%935%20stars","name":"2–5 stars","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Linux","name":"Linux","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Object-Inspector","name":"Object-Inspector","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spyder-ide/spyder/milestones/8","labels_url":"https://api.github.com/repos/spyder-ide/spyder/milestones/8/labels","id":982086,"number":8,"title":"v2.2","description":null,"creator":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":72,"state":"open","created_at":"2015-02-16T23:24:23Z","updated_at":"2015-02-17T19:05:19Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-02-17T19:05:19Z","updated_at":"2015-02-17T19:05:22Z","closed_at":null,"body":"_From [pi...@synchrotron-soleil.fr](https://code.google.com/u/111976521841338120241/) on 2013-01-19T08:14:10Z_\n\nHello, \r\n\r\nI saw that spyder embed the mathjax and jquery javascript libraries.\r\nThis is usually a bad idea from the point of view of packagers :), but\r\nI understand the need from the point of view of the upsteam.\r\n\r\nFor the Debian package we already have packages for mathjax and jqueries.\r\npackages.\r\n\r\nIs it possible for you to tell me which packages are required and if spyder can use directly these system libraries.\r\n\r\nthe jquery availabel is 1.8 on Debian unstable, is it compatible\r\nfor mathjax the available version is 2.0.3-2\r\n\r\nwhat about thoses files\r\n\r\ncopy_button.js  math_config.js  utils.js\r\n\r\nthanks\r\n\r\nFrederic\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1230_"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/74729216","html_url":"https://github.com/spyder-ide/spyder/issues/1230#issuecomment-74729216","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1230","id":74729216,"user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T19:05:22Z","updated_at":"2015-02-17T19:05:22Z","body":"_From [pi...@synchrotron-soleil.fr](https://code.google.com/u/111976521841338120241/) on 2013-01-24T23:20:04Z_\n\nHello,\r\n\r\n1) Maybe the right things to do is to provide a .tar.gz for unix machine without all embedded libraries. Ususally on unix we have all the other libraries.\r\n\r\ntar.gz:\r\npython setup.py sdist (unix) which do not take all the installed thir-party libraries.\r\n\r\n.zip\r\npython setup.py sdist (win) which embeded all the third-party libraries\r\n\r\n\r\n2) When there is embeded libraries, I need to repack the .zip or .tag.gz to remove the problematic libraries. To ease the work it would be nice to put all thoses 'offending' libraries under one directory. Let's call it third-party ;). That way it is easyer to repack.\r\n\r\n\r\n\r\n\r\nFor the path, if I remember correctly ;), we already have this customisation available under spyderlib/__init__.py for DATAPATH DOCPATH etc.\r\n\r\nit would be nice to put all customisation in only one place, because I need to maintain one patch on top of spyder for each release. \r\n\r\n\r\nSo I agreed with you that the default path should be your location for the embeded.\r\nFor unix without the embeded you should check that jquery and mathjax is available when using it for the first time. So thaht the CUSTOMPATH are ok.\r\n\r\n\r\nI prefer the 1) but hey you do what you want :)\r\n\r\nSee you\r\n\r\nFred"}}