Source

pil / make-manifest.py

Full commit
# $Id$
# generate manifest file

import string

out = open("MANIFEST", "w")

for line in open("CONTENTS").readlines():
    line = string.strip(line)
    if line:
        line = string.split(line, "Imaging/", 1)
        out.write(line[1] + "\n")

out.close()