@_unique<EOL>def uninstallation_paths(dist):
r = csv.reader(FakeFile(dist.get_metadata_lines('<STR_LIT>')))<EOL>for row in r:<EOL><INDENT>path = os.path.join(dist.location, row[<NUM_LIT:0>])<EOL>yield path<EOL>if path.endswith('<STR_LIT>'):<EOL><INDENT>dn, fn = os.path.split(path)<EOL>base = fn[:-<NUM_LIT:3>]<EOL>path = os.path.join(dn, base + '<STR_LIT>')<EOL>yield path<EOL>path = os.path.join(dn, base + '<STR_LIT>')<EOL>yield path<EOL><DEDENT><DEDENT>
Yield all the uninstallation paths for dist based on RECORD-without-.py[co]

Yield paths to all the files in RECORD. For each .py file in RECORD, add
the .pyc and .pyo in the same directory.

UninstallPathSet.add() takes care of the __pycache__ .py[co].