old_contents: #!/usr/bin/env python
  from __future__ import absolute_import
  
  # This file is part of Local Scraperlibs.
  
  import warnings
  import os
  from distutils.core import setup
  
  
  def has_external_dependency(name):
      'Check that a non-Python dependency is installed.'
      for directory in os.environ['PATH'].split(':'):
          if os.path.exists(os.path.join(directory, name)):
              return True
      return False
  
  if not has_external_dependency('pdftohtml'):
      warnings.warn(
          'scraperwiki.pdftoxml requires pdftohtml, but pdftohtml was not found '
          'in the PATH. If you wish to use this function, you probably need to '
          'install pdftohtml.'
      )
  
  config = dict(name='scraperwiki',
                author='Francis Irving',
                author_email='francis@scraperwiki.com',
                description='Local version of ScraperWiki libraries',
                url='https://github.com/scraperwiki/scraperwiki-python',
                classifiers=[
                'Intended Audience :: Developers',
                'Intended Audience :: Science/Research',
                'License :: OSI Approved :: '
                'GNU General Public License v3 or later (GPLv3+)',
                'Programming Language :: Python :: 2.7',
                'Programming Language :: Python :: 3.4',
                'Programming Language :: SQL',
                'Topic :: Database :: Front-Ends',
                ],
                packages=['scraperwiki'],
                version='0.4.2',
                license='GPL',
                )
  
  try:
      from setuptools import setup
      config['install_requires'] = ['requests', 'six',
                                    'sqlalchemy', 'alembic'],
  except ImportError:
      pass
  
  setup(**config)
  
new_contents: #!/usr/bin/env python
  from __future__ import absolute_import
  
  # This file is part of Local Scraperlibs.
  
  import warnings
  import os
  from distutils.core import setup
  
  
  def has_external_dependency(name):
      'Check that a non-Python dependency is installed.'
      for directory in os.environ['PATH'].split(':'):
          if os.path.exists(os.path.join(directory, name)):
              return True
      return False
  
  if not has_external_dependency('pdftohtml'):
      warnings.warn(
          'scraperwiki.pdftoxml requires pdftohtml, but pdftohtml was not found '
          'in the PATH. If you wish to use this function, you probably need to '
          'install pdftohtml.'
      )
  
  config = dict(name='scraperwiki',
                author='Francis Irving',
                author_email='francis@scraperwiki.com',
                description='Local version of ScraperWiki libraries',
                url='https://github.com/scraperwiki/scraperwiki-python',
                classifiers=[
                'Intended Audience :: Developers',
                'Intended Audience :: Science/Research',
                'License :: OSI Approved :: '
                'GNU General Public License v3 or later (GPLv3+)',
                'Programming Language :: Python :: 2.7',
                'Programming Language :: Python :: 3.4',
                'Programming Language :: SQL',
                'Topic :: Database :: Front-Ends',
                ],
                packages=['scraperwiki'],
                version='0.5',
                license='GPL',
                )
  
  try:
      from setuptools import setup
      config['install_requires'] = ['requests', 'six',
                                    'sqlalchemy', 'alembic'],
  except ImportError:
      pass
  
  setup(**config)
  
subject: bump 0.5: non-compatible change (runlog)