heron/tools/tracker/src/python/utils.py
def get_heron_tracker_dir():
  """
  This will extract heron tracker directory from .pex file.
  :return: root location for heron-tools.
  """
  path = "/".join(os.path.realpath(__file__).split('/')[:-8])
  return normalized_class_path(path)
def get_heron_tracker_dir():
  """
  This will extract heron tracker directory from .pex file.
  :return: root location for heron-tools.
  """
  path = "/".join(os.path.realpath(__file__).split('/')[:-8])
  return normalized_class_path(path)
def get_heron_tracker_dir ( ) : path = "/" . join ( os . path . realpath ( __file__ ) . split ( '/' ) [ : - 8 ] ) return normalized_class_path ( path )
This will extract heron tracker directory from .pex file.
  :return: root location for heron-tools.
This will extract heron tracker directory from . pex file . : return : root location for heron - tools .