old_contents: 
  import os
  from setuptools import setup, find_packages
  
  os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  
  try:
      from pypandoc import convert
      README = convert("README.md", 'rst')
  except (ImportError, OSError):
      print("warning: pypandoc module not found, could not convert Markdown to RST")
      README = open("README.md", 'r').read()
  
  required = [
      "Django>=1.6",
      "django-bootstrap-form>=3.1",
      "django-haystack",
      "elasticsearch==1.0.0",
      ]
  
  setup(
      name="Farnsworth",
      version="2.1.1",
      author="Karandeep Nagra",
      url="https://github.com/knagra/farnsworth",
      author_email="karandeepsnagra@gmail.com",
      packages=find_packages(),
      include_package_data=True,
      description="Website for BSC houses.",
      long_description=README,
      install_requires=required +  ["elasticsearch>=1.0.0"],
      tests_require=required,
      test_suite="runtests.runtests",
      package_data={
          "": ["*/static/*/*/*", "*/templates/*", "templates/search/*/*/*"],
          },
      classifiers=[
          "Environment :: Web Environment",
          "Framework :: Django",
          "Natural Language :: English",
          "Operating System :: OS Independent",
          "Programming Language :: Python",
          "Programming Language :: Python :: 2",
          "Programming Language :: Python :: 2.6",
          "Programming Language :: Python :: 2.7",
          "Programming Language :: Python :: 3.3",
          "Programming Language :: Python :: 3.4",
          "Topic :: Internet :: WWW/HTTP",
          "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
          ],
      dependency_links=[
          "git://github.com/toastdriven/django-haystack.git#egg=django_haystack-master",
          # "git://github.com/django/django.git#egg=django-1.7c1",
          ],
      extras_require={
          "PostgreSQL": ["psycopg2"],
          "social-auth": ["python-social-auth"],
          },
      )
  
new_contents: 
  import os
  from setuptools import setup, find_packages
  
  os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  
  try:
      from pypandoc import convert
      README = convert("README.md", 'rst')
  except (ImportError, OSError):
      print("warning: pypandoc module not found, could not convert Markdown to RST")
      README = open("README.md", 'r').read()
  
  required = [
      "Django>=1.6",
      "django-bootstrap-form>=3.1",
      "django-haystack",
      "elasticsearch==1.0.0",
      ]
  
  setup(
      name="Farnsworth",
      version="2.2.0",
      author="Karandeep Nagra",
      url="https://github.com/knagra/farnsworth",
      author_email="karandeepsnagra@gmail.com",
      packages=find_packages(),
      include_package_data=True,
      description="Website for BSC houses.",
      long_description=README,
      install_requires=required +  ["elasticsearch>=1.0.0"],
      tests_require=required,
      test_suite="runtests.runtests",
      package_data={
          "": ["*/static/*/*/*", "*/templates/*", "templates/search/*/*/*"],
          },
      classifiers=[
          "Environment :: Web Environment",
          "Framework :: Django",
          "Natural Language :: English",
          "Operating System :: OS Independent",
          "Programming Language :: Python",
          "Programming Language :: Python :: 2",
          "Programming Language :: Python :: 2.6",
          "Programming Language :: Python :: 2.7",
          "Programming Language :: Python :: 3.3",
          "Programming Language :: Python :: 3.4",
          "Topic :: Internet :: WWW/HTTP",
          "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
          ],
      dependency_links=[
          "git://github.com/toastdriven/django-haystack.git#egg=django_haystack-master",
          # "git://github.com/django/django.git#egg=django-1.7c1",
          ],
      extras_require={
          "PostgreSQL": ["psycopg2"],
          "social-auth": ["python-social-auth"],
          },
      )
  
subject: Update version to 2.2.0