old_contents: from ._version import get_versions
  
  __version__ = get_versions()['version']
  del get_versions
  
new_contents: import pkg_resources
  
  try:
      __version__ = pkg_resources.get_distribution(__name__).version
  except:
      __version__ = 'unknown'
  
subject: update __init__.py file