Parse pip requirement file and transform it to setuptools requirements

def pip(filename):
    '''Parse pip requirement file and transform it to setuptools requirements'''
    path = join('requirements', filename)
    return [line for line in open(path).readlines() if not line.startswith('-e')]