old_contents: #!/usr/bin/env python
  """
  Install wagtailnews using setuptools
  """
  import sys
  
  from setuptools import find_packages, setup
  
  with open('wagtailnews/version.py', 'r') as f:
      version = None
      exec(f.read())
  
  with open('README.rst', 'r') as f:
      readme = f.read()
  
  install_requires = ['wagtail>=1.0']
  if sys.version_info < (3,):
      install_requires += ['enum34>=1,<2']
  
  # Documentation dependencies
  documentation_extras = [
      # intersphinx references were broken in 1.4.3, 1.4.4, 1.4.5.
      # Should be fixed in 1.4.6, when it is released.
      'Sphinx>=1.3.1,!=1.4.5,!=1.4.4,!=1.4.3',
      'sphinx-autobuild>=0.5.2',
      'sphinx_rtd_theme>=0.1.8',
      'sphinxcontrib-spelling==2.1.1',
      'pyenchant==1.6.6',
  ]
  
  setup(
      name='wagtailnews',
      version=version,
      description='News / blog plugin for the Wagtail CMS',
      long_description=readme,
      author='Tim Heap',
      author_email='tim@takeflight.com.au',
      url='https://bitbucket.org/takeflight/wagtailnews',
  
      install_requires=install_requires,
      extras_require={
          'docs': documentation_extras
      },
      zip_safe=False,
      license='BSD License',
  
      packages=find_packages(exclude=['tests*']),
  
      include_package_data=True,
      package_data={},
  
      classifiers=[
          'Environment :: Web Environment',
          'Intended Audience :: Developers',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Framework :: Django',
          'License :: OSI Approved :: BSD License',
      ],
  )
  
new_contents: #!/usr/bin/env python
  """
  Install wagtailnews using setuptools
  """
  import sys
  
  from setuptools import find_packages, setup
  
  with open('wagtailnews/version.py', 'r') as f:
      version = None
      exec(f.read())
  
  with open('README.rst', 'r') as f:
      readme = f.read()
  
  install_requires = ['wagtail>=1.0']
  if sys.version_info < (3,):
      install_requires += ['enum34>=1,<2']
  
  # Documentation dependencies
  documentation_extras = [
      # intersphinx references were broken in 1.4.3, 1.4.4, 1.4.5.
      # Should be fixed in 1.4.6, when it is released.
      'Sphinx>=1.3.1,!=1.4.5,!=1.4.4,!=1.4.3',
      'sphinx-autobuild>=0.5.2',
      'sphinx_rtd_theme>=0.1.8',
      'sphinxcontrib-spelling==2.1.1',
      'pyenchant==1.6.6',
  ]
  
  setup(
      name='wagtailnews',
      version=version,
      description='News / blog plugin for the Wagtail CMS',
      long_description=readme,
      author='Tim Heap',
      author_email='tim@takeflight.com.au',
      url='https://github.com/takeflight/wagtailnews/',
  
      install_requires=install_requires,
      extras_require={
          'docs': documentation_extras
      },
      zip_safe=False,
      license='BSD License',
  
      packages=find_packages(exclude=['tests*']),
  
      include_package_data=True,
      package_data={},
  
      classifiers=[
          'Environment :: Web Environment',
          'Intended Audience :: Developers',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Framework :: Django',
          'License :: OSI Approved :: BSD License',
      ],
  )
  
subject: Update repository link to github