old_contents: try:
      from distutils.core import setup  # , Extension
      from setuptools import find_packages, findall
  except ImportError:
      print ("Please install Distutils and setuptools"
             " before installing this package")
      raise
  
  setup(
      name='scheduler',
      version='1.0.0',
      description=('A DAG-based job scheduler for performing work with complex'
                   ' dependency requirements.'),
      long_description=open('README.md').read(),
  
      author='Sailthru Data Science Team',
      author_email='ds@sailthru.com',
      url='https://github.com/sailthru/sailthru-datascience',
  
      packages=find_packages(),
      scripts=findall('bin'),
      data_files=[
          ('conf', findall('conf')),
          ('scheduler.examples', findall('scheduler/examples'))
      ],
  
      install_requires = [
          'kazoo>=1.3.1',
          'networkx>=1.8.1',
          'ujson>=1.33',
          'argparse>=1.1',
          'pygraphviz==1.2',
  
          # ds_commons crap  # TODO: make a setup.py for ds_commons that works
          'colorlog',
      ],
  
      tests_require=[
          'nose>=1.3.3',
      ],
      test_suite="nose.main",
  
      # extras_require=[
      #    'pyspark',
      # ],
  
      # include_package_data = True,
      zip_safe = False,
  
      # Include code that isn't pure python (like c stuff)
      # ext_modules=[Extension('foo', ['foo.c'])]
  )
  
new_contents: try:
      from distutils.core import setup  # , Extension
      from setuptools import find_packages, findall
  except ImportError:
      print ("Please install Distutils and setuptools"
             " before installing this package")
      raise
  
  setup(
      name='scheduler',
      version='1.0.0',
      description=('A DAG-based job scheduler for performing work with complex'
                   ' dependency requirements.'),
      long_description=open('README.md').read(),
  
      author='Sailthru Data Science Team',
      author_email='ds@sailthru.com',
      url='https://github.com/sailthru/sailthru-datascience',
  
      packages=find_packages(),
      scripts=findall('bin'),
      data_files=[
          ('conf', findall('conf')),
          ('scheduler/examples', findall('scheduler/examples'))
      ],
  
      install_requires = [
          'kazoo>=1.3.1',
          'networkx>=1.8.1',
          'ujson>=1.33',
          'argparse>=1.1',
          'pygraphviz==1.2',
  
          # ds_commons crap  # TODO: make a setup.py for ds_commons that works
          'colorlog',
      ],
  
      tests_require=[
          'nose>=1.3.3',
      ],
      test_suite="nose.main",
  
      # extras_require=[
      #    'pyspark',
      # ],
  
      # include_package_data = True,
      zip_safe = False,
  
      # Include code that isn't pure python (like c stuff)
      # ext_modules=[Extension('foo', ['foo.c'])]
  )
  
subject: fix examples dir in setup.py