old_contents: try:
      from setuptools.core import setup
  except ImportError:
      from distutils.core import setup
  import sys
  
  
  svem_flag = '--single-version-externally-managed'
  if svem_flag in sys.argv:
      # Die, setuptools, die.
      sys.argv.remove(svem_flag)
  
  
  with open('metakernel/__init__.py', 'rb') as fid:
      for line in fid:
          line = line.decode('utf-8')
          if line.startswith('__version__'):
              version = line.strip().split()[-1][1:-1]
              break
  
  
  setup(name='metakernel',
        version=version,
        description='Metakernel for Jupyter',
        long_description=open('README.rst', 'rb').read().decode('utf-8'),
        author='Steven Silvester',
        author_email='steven.silvester@ieee.org',
        url="https://github.com/blink1073/metakernel",
        #install_requires=['IPython'], # add when IPython>=3.0
        packages=['metakernel', 'metakernel.magics', 'metakernel.utils',
                  'metakernel.tests', 'metakernel.magics.tests'],
  
        #include_data_files = True,
        #package_data = {
        #    'images': ['logo-64x64.png'],
        #},
        data_files = [("metakernel", ["images/logo-64x64.png", 
                                      "images/logo-32x32.png"])],
        classifiers=[
            'Framework :: IPython',
            'License :: OSI Approved :: BSD License',
            'Programming Language :: Python :: 3',
            'Programming Language :: Python :: 2',
            'Programming Language :: Scheme',
            'Topic :: System :: Shells',
        ]
        )
  
new_contents: try:
      from setuptools.core import setup
  except ImportError:
      from distutils.core import setup
  import sys
  
  
  svem_flag = '--single-version-externally-managed'
  if svem_flag in sys.argv:
      # Die, setuptools, die.
      sys.argv.remove(svem_flag)
  
  
  with open('metakernel/__init__.py', 'rb') as fid:
      for line in fid:
          line = line.decode('utf-8')
          if line.startswith('__version__'):
              version = line.strip().split()[-1][1:-1]
              break
  
  
  setup(name='metakernel',
        version=version,
        description='Metakernel for Jupyter',
        long_description=open('README.rst', 'rb').read().decode('utf-8'),
        author='Steven Silvester',
        author_email='steven.silvester@ieee.org',
        url="https://github.com/Calysto/metakernel",
        #install_requires=['IPython'], # add when IPython>=3.0
        packages=['metakernel', 'metakernel.magics', 'metakernel.utils',
                  'metakernel.tests', 'metakernel.magics.tests'],
  
        #include_data_files = True,
        #package_data = {
        #    'images': ['logo-64x64.png'],
        #},
        data_files = [("metakernel", ["images/logo-64x64.png", 
                                      "images/logo-32x32.png"])],
        classifiers=[
            'Framework :: IPython',
            'License :: OSI Approved :: BSD License',
            'Programming Language :: Python :: 3',
            'Programming Language :: Python :: 2',
            'Programming Language :: Scheme',
            'Topic :: System :: Shells',
        ]
        )
  
subject: Update url in setup.py