def setup_path(): example_path = os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, 'examples') add_to_path(os.path.join(example_path, 'flaskr')) add_to_path(os.path.join(example_path, 'minitwit'))