old_contents: from pipenv.patched import pew
  
  if __name__ == '__main__':
      pew.pew.pew()
  
new_contents: from pipenv.patched import pew
  import os
  import sys
  
  pipenv_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  pipenv_vendor = os.sep.join([pipenv_root, 'vendor'])
  pipenv_patched = os.sep.join([pipenv_root, 'patched'])
  
  
  if __name__ == '__main__':
      sys.path.insert(0, pipenv_vendor)
      sys.path.insert(0, pipenv_patched)
      pew.pew.pew()
  
subject: Add vendor and patch directories to pew path