{"action":"created","issue":{"url":"https://api.github.com/repos/python-excel/xlwt/issues/73","labels_url":"https://api.github.com/repos/python-excel/xlwt/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/python-excel/xlwt/issues/73/comments","events_url":"https://api.github.com/repos/python-excel/xlwt/issues/73/events","html_url":"https://github.com/python-excel/xlwt/issues/73","id":124812793,"number":73,"title":"Bundled antlr file status unclear.","user":{"login":"leamas","id":405541,"avatar_url":"https://avatars.githubusercontent.com/u/405541?v=3","gravatar_id":"","url":"https://api.github.com/users/leamas","html_url":"https://github.com/leamas","followers_url":"https://api.github.com/users/leamas/followers","following_url":"https://api.github.com/users/leamas/following{/other_user}","gists_url":"https://api.github.com/users/leamas/gists{/gist_id}","starred_url":"https://api.github.com/users/leamas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leamas/subscriptions","organizations_url":"https://api.github.com/users/leamas/orgs","repos_url":"https://api.github.com/users/leamas/repos","events_url":"https://api.github.com/users/leamas/events{/privacy}","received_events_url":"https://api.github.com/users/leamas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-04T18:33:16Z","updated_at":"2016-01-06T15:11:58Z","closed_at":"2016-01-06T15:11:58Z","body":"The distribution contains a file xlwt/antlr.py. According to the comments in file it should be a copy of the 2.7.7 antlr2 release. However, it's seemingly not. When I download a 2.7.7 release from http://www.antlr2.org i get a diff of about 330 lines.\r\n\r\nBundling files this way creates hard to solve problems for distributions which want to avoid it for distribution-wide reasons. In previous versions is has been possible to unbundle antlr.py and use the official 2.7.5 antlr package instead. However, with 1.0.0 the build breaks with errors in antlr.py unless the patched variant is used. \r\n\r\nI understand that the python-xlwt code needs it's own antlr.py file, packaging certainly  isn't the only usecase. However,  packaging-wise the antlr.py patches  is a bug which should be fixed by upstreaming  and/or reverting them."},"comment":{"url":"https://api.github.com/repos/python-excel/xlwt/issues/comments/169349115","html_url":"https://github.com/python-excel/xlwt/issues/73#issuecomment-169349115","issue_url":"https://api.github.com/repos/python-excel/xlwt/issues/73","id":169349115,"user":{"login":"cjw296","id":632049,"avatar_url":"https://avatars.githubusercontent.com/u/632049?v=3","gravatar_id":"","url":"https://api.github.com/users/cjw296","html_url":"https://github.com/cjw296","followers_url":"https://api.github.com/users/cjw296/followers","following_url":"https://api.github.com/users/cjw296/following{/other_user}","gists_url":"https://api.github.com/users/cjw296/gists{/gist_id}","starred_url":"https://api.github.com/users/cjw296/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjw296/subscriptions","organizations_url":"https://api.github.com/users/cjw296/orgs","repos_url":"https://api.github.com/users/cjw296/repos","events_url":"https://api.github.com/users/cjw296/events{/privacy}","received_events_url":"https://api.github.com/users/cjw296/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T15:11:58Z","updated_at":"2016-01-06T15:11:58Z","body":"Please treat this file as an internal implementation detail of xlwt and do not attempt to do anything clever with packaging."}}