def get_fortpy_templates_dir():
    """Gets the templates directory from the fortpy package."""
    import fortpy
    from os import path
    fortdir = path.dirname(fortpy.__file__)
    return path.join(fortdir, "templates")
def get_fortpy_templates_dir ( ) : import fortpy from os import path fortdir = path . dirname ( fortpy . __file__ ) return path . join ( fortdir , "templates" )
Gets the templates directory from the fortpy package.