def parse_requirements(path):
    """ Return the contents of a requirements file as a string separated by
    spaces.
    """
    with open(path, 'r') as fp:
        return ' '.join(line.strip() for line in fp)