old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  """Version info"""
  
  import sys
  import importlib
  
  short_version = '0.5'
  version = '0.5.1'
  
  
  def __get_mod_version(modname):
  
      try:
          if modname in sys.modules:
              mod = sys.modules[modname]
          else:
              mod = importlib.import_module(modname)
          try:
              return mod.__version__
          except AttributeError:
              return 'installed, no version number available'
  
      except ImportError:
          return None
  
  
  def show_versions():
      '''Return the version information for all librosa dependencies.'''
  
      core_deps = ['audioread',
                   'numpy',
                   'scipy',
                   'sklearn',
                   'joblib',
                   'decorator',
                   'six',
                   'resampy']
  
      extra_deps = ['numpydoc',
                    'sphinx',
                    'sphinx_rtd_theme',
                    'sphinxcontrib',
                    'matplotlib',
                    'numba']
  
      print('INSTALLED VERSIONS')
      print('------------------')
      print('python: {}\n'.format(sys.version))
      print('librosa: {}\n'.format(version))
      for dep in core_deps:
          print('{}: {}'.format(dep, __get_mod_version(dep)))
      print('')
      for dep in extra_deps:
          print('{}: {}'.format(dep, __get_mod_version(dep)))
      pass
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  """Version info"""
  
  import sys
  import importlib
  
  short_version = '0.5'
  version = '0.5.1'
  
  
  def __get_mod_version(modname):
  
      try:
          if modname in sys.modules:
              mod = sys.modules[modname]
          else:
              mod = importlib.import_module(modname)
          try:
              return mod.__version__
          except AttributeError:
              return 'installed, no version number available'
  
      except ImportError:
          return None
  
  
  def show_versions():
      '''Return the version information for all librosa dependencies.'''
  
      core_deps = ['audioread',
                   'numpy',
                   'scipy',
                   'sklearn',
                   'joblib',
                   'decorator',
                   'six',
                   'resampy']
  
      extra_deps = ['numpydoc',
                    'sphinx',
                    'sphinx_rtd_theme',
                    'sphinxcontrib.versioning',
                    'matplotlib',
                    'numba']
  
      print('INSTALLED VERSIONS')
      print('------------------')
      print('python: {}\n'.format(sys.version))
      print('librosa: {}\n'.format(version))
      for dep in core_deps:
          print('{}: {}'.format(dep, __get_mod_version(dep)))
      print('')
      for dep in extra_deps:
          print('{}: {}'.format(dep, __get_mod_version(dep)))
      pass
  
subject: Address comment