def indented_setup(setup, indentation):
    """Indent each line of setup with given amount of indentation.

    >>> indented_setup("x = 1\\n", "  ")
    '  x = 1\\n'
    >>> indented_setup("x = 1\\ny = 2\\n", "    ")
    '    x = 1\\n    y = 2\\n'
    """
    return ''.join([indentation + line for line in setup.splitlines(True)])