code: def rewrite_packaging(pkg_files, new_root):
      
      for file in pkg_files.glob('*.py'):
          text = file.text()
          text = re.sub(r' (pyparsing|six)', rf' {new_root}.\1', text)
          file.write_text(text)
docs: Rewrite imports in packaging to redirect to vendored copies.