old_contents: """Sphinx Bootstrap Theme package."""
  import os
  from setuptools import setup, find_packages
  
  from sphinx_bootstrap_theme import __version__
  
  ###############################################################################
  # Environment and Packages.
  ###############################################################################
  # Don't copy Mac OS X resource forks on tar/gzip.
  os.environ['COPYFILE_DISABLE'] = "true"
  
  # Packages.
  MOD_NAME = "sphinx_bootstrap_theme"
  PKGS = [x for x in find_packages() if x.split('.')[0] == MOD_NAME]
  
  
  ###############################################################################
  # Helpers.
  ###############################################################################
  def read_file(name):
      """Read file name (without extension) to string."""
      cur_path = os.path.dirname(__file__)
      exts = ('txt', 'rst')
      for ext in exts:
          path = os.path.join(cur_path, '.'.join((name, ext)))
          if os.path.exists(path):
              with open(path, 'rt') as file_obj:
                  return file_obj.read()
  
      return ''
  
  
  ###############################################################################
  # Setup.
  ###############################################################################
  setup(
      name="sphinx-bootstrap-theme",
      version=__version__,
      use_2to3=True,
      description="Sphinx Bootstrap Theme.",
      long_description=read_file("README"),
      url="http://ryan-roemer.github.com/sphinx-bootstrap-theme/README.html",
  
      author="Ryan Roemer",
      author_email="ryan@loose-bits.com",
  
      classifiers=[
          "Development Status :: 5 - Production/Stable",
          "Environment :: Web Environment",
          "Intended Audience :: Developers",
          "Intended Audience :: System Administrators",
          "License :: OSI Approved :: MIT License",
          "Operating System :: OS Independent",
          "Programming Language :: Python",
          "Topic :: Internet",
          "Topic :: Software Development :: Documentation",
      ],
  
      install_requires=[
          "setuptools",
      ],
      entry_points = {
          'sphinx.html_themes': [
              'bootstrap = sphinx_bootstrap_theme',
          ]
      },
      packages=PKGS,
      include_package_data=True,
  )
  
new_contents: """Sphinx Bootstrap Theme package."""
  import os
  from setuptools import setup, find_packages
  
  from sphinx_bootstrap_theme import __version__
  
  ###############################################################################
  # Environment and Packages.
  ###############################################################################
  # Don't copy Mac OS X resource forks on tar/gzip.
  os.environ['COPYFILE_DISABLE'] = "true"
  
  # Packages.
  MOD_NAME = "sphinx_bootstrap_theme"
  PKGS = [x for x in find_packages() if x.split('.')[0] == MOD_NAME]
  
  
  ###############################################################################
  # Helpers.
  ###############################################################################
  def read_file(name):
      """Read file name (without extension) to string."""
      cur_path = os.path.dirname(__file__)
      exts = ('txt', 'rst')
      for ext in exts:
          path = os.path.join(cur_path, '.'.join((name, ext)))
          if os.path.exists(path):
              with open(path, 'rt') as file_obj:
                  return file_obj.read()
  
      return ''
  
  
  ###############################################################################
  # Setup.
  ###############################################################################
  setup(
      name="sphinx-bootstrap-theme",
      version=__version__,
      use_2to3=True,
      description="Sphinx Bootstrap Theme.",
      long_description=read_file("README"),
      url="http://ryan-roemer.github.com/sphinx-bootstrap-theme/README.html",
  
      author="Ryan Roemer",
      author_email="ryan@loose-bits.com",
  
      classifiers=[
          "Development Status :: 5 - Production/Stable",
          "Environment :: Web Environment",
          "Intended Audience :: Developers",
          "Intended Audience :: System Administrators",
          "License :: OSI Approved :: MIT License",
          "Operating System :: OS Independent",
          "Programming Language :: Python",
          "Programming Language :: Python :: 2",
          "Programming Language :: Python :: 3",
          "Topic :: Internet",
          "Topic :: Software Development :: Documentation",
      ],
  
      install_requires=[
          "setuptools",
      ],
      entry_points = {
          'sphinx.html_themes': [
              'bootstrap = sphinx_bootstrap_theme',
          ]
      },
      packages=PKGS,
      include_package_data=True,
  )
  
subject: Declare supported Python versions, closes #174. (#175)