{"action":"created","issue":{"url":"https://api.github.com/repos/vaab/gitchangelog/issues/34","labels_url":"https://api.github.com/repos/vaab/gitchangelog/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/vaab/gitchangelog/issues/34/comments","events_url":"https://api.github.com/repos/vaab/gitchangelog/issues/34/events","html_url":"https://github.com/vaab/gitchangelog/issues/34","id":85098989,"number":34,"title":"Templates are extracted to invalid location and markdown template is missing","user":{"login":"tuukkamustonen","id":94327,"avatar_url":"https://avatars.githubusercontent.com/u/94327?v=3","gravatar_id":"","url":"https://api.github.com/users/tuukkamustonen","html_url":"https://github.com/tuukkamustonen","followers_url":"https://api.github.com/users/tuukkamustonen/followers","following_url":"https://api.github.com/users/tuukkamustonen/following{/other_user}","gists_url":"https://api.github.com/users/tuukkamustonen/gists{/gist_id}","starred_url":"https://api.github.com/users/tuukkamustonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuukkamustonen/subscriptions","organizations_url":"https://api.github.com/users/tuukkamustonen/orgs","repos_url":"https://api.github.com/users/tuukkamustonen/repos","events_url":"https://api.github.com/users/tuukkamustonen/events{/privacy}","received_events_url":"https://api.github.com/users/tuukkamustonen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-04T13:25:51Z","updated_at":"2015-06-09T11:23:25Z","closed_at":"2015-06-09T08:50:36Z","body":"Running the latest 2.2.0, with `pystache` installed and `output_engine = mustache(\"markdown\")` in my `.gitchangelog.rc`, running `gitchangelog` gives:\r\n\r\n    Error: Invalid mustache template name 'markdown'.\r\n    No available mustache templates found in '/home/musttu/.virtualenvs/foobar/python2.7/site-packages/templates/mustache'.\r\n\r\nThat directory does not exist at all. Instead, the templates are directly in virtualenv root:\r\n\r\n    $ pip uninstall gitchangelog\r\n    Uninstalling gitchangelog-2.2.0:\r\n      /home/musttu/.virtualenvs/foobar/bin/gitchangelog\r\n      /home/musttu/.virtualenvs/foobar/gitchangelog.rc.reference\r\n      /home/musttu/.virtualenvs/foobar/lib/python2.7/site-packages/gitchangelog-2.2.0-py2.7.egg-info\r\n      /home/musttu/.virtualenvs/foobar/lib/python2.7/site-packages/gitchangelog.py\r\n      /home/musttu/.virtualenvs/foobar/lib/python2.7/site-packages/gitchangelog.pyc\r\n      /home/musttu/.virtualenvs/foobar/templates/mako/octobercms-plugin.tpl\r\n      /home/musttu/.virtualenvs/foobar/templates/mako/restructuredtext.tpl\r\n      /home/musttu/.virtualenvs/foobar/templates/mustache/restructuredtext.tpl\r\n    Proceed (y/n)?\r\n\r\nAnd even in this case, `markdown.tpl` is missing.\r\n\r\nIt fails the same way without virtualenv (templates get extracted to `/usr/local/templates`, is it intentional?)\r\n\r\nSome issues with installation scripts?"},"comment":{"url":"https://api.github.com/repos/vaab/gitchangelog/issues/comments/110321992","html_url":"https://github.com/vaab/gitchangelog/issues/34#issuecomment-110321992","issue_url":"https://api.github.com/repos/vaab/gitchangelog/issues/34","id":110321992,"user":{"login":"tuukkamustonen","id":94327,"avatar_url":"https://avatars.githubusercontent.com/u/94327?v=3","gravatar_id":"","url":"https://api.github.com/users/tuukkamustonen","html_url":"https://github.com/tuukkamustonen","followers_url":"https://api.github.com/users/tuukkamustonen/followers","following_url":"https://api.github.com/users/tuukkamustonen/following{/other_user}","gists_url":"https://api.github.com/users/tuukkamustonen/gists{/gist_id}","starred_url":"https://api.github.com/users/tuukkamustonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuukkamustonen/subscriptions","organizations_url":"https://api.github.com/users/tuukkamustonen/orgs","repos_url":"https://api.github.com/users/tuukkamustonen/repos","events_url":"https://api.github.com/users/tuukkamustonen/events{/privacy}","received_events_url":"https://api.github.com/users/tuukkamustonen/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T11:23:25Z","updated_at":"2015-06-09T11:23:25Z","body":"There is this in pip 7.0.0:\r\n\r\n> Build Wheels prior to installing from sdist, caching them in the pip cache directory to speed up subsequent installs. (PR #2618)\r\n\r\nInstalling with `pip install --no-use-wheel gitchangelog==2.2.1` avoids the wheel packaging and templates get extracted to correct place. So, it seems like gitchangelog would need to support wheel packaging as the new pip defaults to that!"}}