"""\
Grip
----

Render local readme files before sending off to GitHub.

:copyright: (c) 2014 by Joe Esposito.
:license: MIT, see LICENSE for more details.
"""

import os
import sys


if __name__ == '__main__':
    sys.path.append(os.path.dirname(__file__))

    from grip.command import main
    main()

@@ -221,30 +221,74 @@
 ath.
-append(os.path.dirname
+insert(1, os.path.dirname(os.path.dirname(%0A        os.path.abspath
 (__f
@@ -294,16 +294,18 @@
 file__))
+))
 %0A%0A    fr

Fix __main__ path: