old_contents: """A ZCatalog multi-index that uses Solr
  """
  import os
  from setuptools import setup, find_packages
  
  
  def read(*rnames):
      return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
  
  long_description = (
      read('README.txt')
      + '\n' +
      'Detailed Documentation\n'
      '======================\n'
      + '\n' +
      read('alm', 'solrindex', 'README.txt')
      + '\n' +
      read('CHANGES.txt')
      + '\n')
  
  here = os.path.abspath(os.path.normpath(os.path.dirname(__file__)))
  version_txt = os.path.join(here, 'alm/solrindex/version.txt')
  alm_solrindex_version = open(version_txt).read().strip()
  
  tests_require = ['zope.testing']
  
  setup(name='alm.solrindex',
        version=alm_solrindex_version,
        description=__doc__,
        long_description=long_description,
        # Get more strings from
        # http://www.python.org/pypi?%3Aaction=list_classifiers
        classifiers=[
          'Framework :: Zope',
          'Intended Audience :: Developers',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'License :: OSI Approved :: GNU General Public License (GPL)',
          ],
        keywords='zope zcatalog solr plone',
        author='Shane Hathaway',
        author_email='shane@hathawaymix.org',
        license='GPL',
        packages=find_packages(exclude=['ez_setup']),
        namespace_packages=['alm'],
        include_package_data=True,
        zip_safe=False,
        install_requires=[
          'setuptools',
          #'solrpy',  # we have a private copy until solrpy fixes some bugs
          ],
        tests_require=tests_require,
        extras_require=dict(tests=tests_require),
        test_suite='alm.solrindex.tests.test_suite',
        entry_points="""\
        [console_scripts]
        waituri = alm.solrindex.scripts.waituri:main
        """,
        )
  
new_contents: """A ZCatalog multi-index that uses Solr
  """
  import os
  from setuptools import setup, find_packages
  
  
  def read(*rnames):
      return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
  
  long_description = (
      read('README.txt')
      + '\n' +
      'Detailed Documentation\n'
      '======================\n'
      + '\n' +
      read('alm', 'solrindex', 'README.txt')
      + '\n' +
      read('CHANGES.txt')
      + '\n')
  
  here = os.path.abspath(os.path.normpath(os.path.dirname(__file__)))
  version_txt = os.path.join(here, 'alm/solrindex/version.txt')
  alm_solrindex_version = open(version_txt).read().strip()
  
  tests_require = ['zope.testing']
  
  setup(name='alm.solrindex',
        version=alm_solrindex_version,
        description=__doc__,
        long_description=long_description,
        # Get more strings from
        # http://www.python.org/pypi?%3Aaction=list_classifiers
        classifiers=[
          'Framework :: Zope2',
          'Intended Audience :: Developers',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'License :: OSI Approved :: GNU General Public License (GPL)',
          ],
        keywords='zope zcatalog solr plone',
        author='Shane Hathaway',
        author_email='shane@hathawaymix.org',
        license='GPL',
        packages=find_packages(exclude=['ez_setup']),
        namespace_packages=['alm'],
        include_package_data=True,
        zip_safe=False,
        install_requires=[
          'setuptools',
          #'solrpy',  # we have a private copy until solrpy fixes some bugs
          ],
        tests_require=tests_require,
        extras_require=dict(tests=tests_require),
        test_suite='alm.solrindex.tests.test_suite',
        entry_points="""\
        [console_scripts]
        waituri = alm.solrindex.scripts.waituri:main
        """,
        )
  
subject: Prepare alm.solrindex 1.0.