{"action":"created","issue":{"url":"https://api.github.com/repos/yauml/yauml/issues/13","labels_url":"https://api.github.com/repos/yauml/yauml/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/yauml/yauml/issues/13/comments","events_url":"https://api.github.com/repos/yauml/yauml/issues/13/events","html_url":"https://github.com/yauml/yauml/pull/13","id":78362503,"number":13,"title":"Partially cleaning the main script","user":{"login":"ablondin","id":398340,"avatar_url":"https://avatars.githubusercontent.com/u/398340?v=3","gravatar_id":"","url":"https://api.github.com/users/ablondin","html_url":"https://github.com/ablondin","followers_url":"https://api.github.com/users/ablondin/followers","following_url":"https://api.github.com/users/ablondin/following{/other_user}","gists_url":"https://api.github.com/users/ablondin/gists{/gist_id}","starred_url":"https://api.github.com/users/ablondin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ablondin/subscriptions","organizations_url":"https://api.github.com/users/ablondin/orgs","repos_url":"https://api.github.com/users/ablondin/repos","events_url":"https://api.github.com/users/ablondin/events{/privacy}","received_events_url":"https://api.github.com/users/ablondin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-20T04:16:25Z","updated_at":"2015-05-20T16:17:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yauml/yauml/pulls/13","html_url":"https://github.com/yauml/yauml/pull/13","diff_url":"https://github.com/yauml/yauml/pull/13.diff","patch_url":"https://github.com/yauml/yauml/pull/13.patch"},"body":"When someone installs YAUML, he/she might not want to install it globally with ``make install`` but rather install it in an unconventional directory and update his/her ``PATH`` variable so that it finds the binary. The problem in that case is that one needs to launch YAUML only from the bin directory, as mentioned in issue #12.\r\n\r\nWith this pull request, YAUML works from anywhere, without having to install it in ``/usr/bin`` provided ``PATH`` knows the location of ``bin/yauml``.\r\n\r\nMoreover, I changed the name ``process.py`` by ``yauml`` since it is the main script. I also cleaned a typo at the same time and updated the Makefile accordingly.\r\n\r\n@sim590 : what do you think? Have I forgotten something?"},"comment":{"url":"https://api.github.com/repos/yauml/yauml/issues/comments/103944798","html_url":"https://github.com/yauml/yauml/pull/13#issuecomment-103944798","issue_url":"https://api.github.com/repos/yauml/yauml/issues/13","id":103944798,"user":{"login":"sim590","id":4147254,"avatar_url":"https://avatars.githubusercontent.com/u/4147254?v=3","gravatar_id":"","url":"https://api.github.com/users/sim590","html_url":"https://github.com/sim590","followers_url":"https://api.github.com/users/sim590/followers","following_url":"https://api.github.com/users/sim590/following{/other_user}","gists_url":"https://api.github.com/users/sim590/gists{/gist_id}","starred_url":"https://api.github.com/users/sim590/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sim590/subscriptions","organizations_url":"https://api.github.com/users/sim590/orgs","repos_url":"https://api.github.com/users/sim590/repos","events_url":"https://api.github.com/users/sim590/events{/privacy}","received_events_url":"https://api.github.com/users/sim590/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T16:17:03Z","updated_at":"2015-05-20T16:17:03Z","body":"If you want to provide \"unconventionnal\" instalation, you simply have to provide the installation dirs values to the Makefile.\r\n\r\nAlthough, the conventionnal installation should always be preserved. Therefore, `sed` call is still needed after installation if it wants to know that templates are under `/usr/share/yauml/`."}}