import os dirname = os.path.dirname YARDSTICK_ROOT_PATH = dirname(dirname(os.path.abspath(__file__))) YARDSTICK_ROOT_PATH += os.path.sep