old_contents: import os
  from pip.req import parse_requirements
  from setuptools import setup
  
  README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
  
  # allow setup.py to be run from any path
  os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  
  setup(
      name = 'UCLDC Harvester',
      version = '0.0',
      packages = ['harvester',],
      include_package_data = True,
      license = 'BSD License - see LICENSE file', 
      description = 'harvester code for the UCLDC project',
      long_description = README,
      author = 'Mark Redar',
      author_email = 'mark.redar@ucop.edu',
      classifiers = [
          'Environment :: Web Environment',
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Operating System :: Linux',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2.7',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
      ],
      dependency_links = [
              'https://github.com/zepheira/amara/archive/master.zip#egg=amara', 
              'https://github.com/zepheira/akara/archive/master.zip#egg=akara',
              'https://github.com/mredar/DPLA-ingestion/archive/ucldc.zip#egg=dplaingestion',
              ],
      install_requires = [ 
          'Sickle==0.3',
          'argparse==1.2.1',
          'lxml==3.3.5',
          'requests==2.1.0',
          'solrpy==0.9.6',
          'wsgiref==0.1.2',
          'Logbook==0.6.0',
          'amara',
          'akara',
          'dplaingestion',
          'python-dateutil==2.2',
          'CouchDB==0.9',
          'redis==2.10.1',
          'rq==0.4.6',
          'boto==2.29.1',
          'CouchDB==0.9'
          ]
  )
  
new_contents: import os
  from pip import main as pip_main
  from setuptools import setup
  
  README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
  
  # allow setup.py to be run from any path
  os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  
  setup(
      name = 'UCLDC Harvester',
      version = '0.0',
      packages = ['harvester',],
      include_package_data = True,
      license = 'BSD License - see LICENSE file', 
      description = 'harvester code for the UCLDC project',
      long_description = README,
      author = 'Mark Redar',
      author_email = 'mark.redar@ucop.edu',
      classifiers = [
          'Environment :: Web Environment',
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Operating System :: Linux',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2.7',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
      ],
      dependency_links = [
              'https://github.com/zepheira/amara/archive/master.zip#egg=amara', 
              'https://github.com/zepheira/akara/archive/master.zip#egg=akara',
              'https://github.com/mredar/DPLA-ingestion/archive/ucldc.zip#egg=dplaingestion',
              ],
      install_requires = [ 
          'Sickle==0.3',
          'argparse==1.2.1',
          'lxml==3.3.5',
          'requests==2.1.0',
          'solrpy==0.9.6',
          'wsgiref==0.1.2',
          'Logbook==0.6.0',
          'amara',
          'akara',
          'dplaingestion',
          'python-dateutil==2.2',
          'CouchDB==0.9',
          'redis==2.10.1',
          'rq==0.4.6',
          'boto==2.29.1',
          'CouchDB==0.9',
          ]
  )
  
  pip_main(['install', 'ansible'])
  
subject: Add pip install of ansible, for solr index transfer