app_path = os.path.join(root_path, 'other', 'dir', 'to', 'app') os.environ["PATH"] += os.pathsep + app_path