def get_heron_dir():
go_above_dirs = <NUM_LIT:9><EOL>path = "<STR_LIT:/>".join(os.path.realpath(__file__).split('<STR_LIT:/>')[:-go_above_dirs])<EOL>return normalized_class_path(path)<EOL>
This will extract heron directory from .pex file.

For example,
when __file__ is '/Users/heron-user/bin/heron/heron/tools/common/src/python/utils/config.pyc', and
its real path is '/Users/heron-user/.heron/bin/heron/tools/common/src/python/utils/config.pyc',
the internal variable ``path`` would be '/Users/heron-user/.heron', which is the heron directory

This means the variable `go_above_dirs` below is 9.

:return: root location of the .pex file