old_contents: #!/usr/bin/env python
  # coding: utf8
  
  from setuptools import setup, find_packages
  
  setup(
      name='onkyo-eiscp',
      version='0.9.1',
      url='https://github.com/miracle2k/onkyo-eiscp',
      license='MIT',
      author='Michael Elsdörfer',
      author_email='michael@elsdoerfer.com',
      description='Control Onkyo receivers over ethernet.',
      packages = find_packages(),
      entry_points="""[console_scripts]\nonkyo = eiscp.script:run\n""",
      install_requires=['docopt>=0.4.1'],
      platforms='any',
      classifiers=[
          'Topic :: System :: Networking',
          'Topic :: Games/Entertainment',
          'Topic :: Multimedia',
          'Intended Audience :: Developers',
          'Intended Audience :: End Users/Desktop',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
      ]
  )
  
new_contents: #!/usr/bin/env python
  # coding: utf8
  
  from setuptools import setup, find_packages
  
  # Get long_description from README
  import os
  here = os.path.dirname(os.path.abspath(__file__))
  f = open(os.path.join(here, 'README.rst'))
  long_description = f.read().strip()
  f.close()
  
  setup(
      name='onkyo-eiscp',
      version='0.9.1',
      url='https://github.com/miracle2k/onkyo-eiscp',
      license='MIT',
      author='Michael Elsdörfer',
      author_email='michael@elsdoerfer.com',
      description='Control Onkyo receivers over ethernet.',
      long_description=long_description,
      packages = find_packages(),
      entry_points="""[console_scripts]\nonkyo = eiscp.script:run\n""",
      install_requires=['docopt>=0.4.1'],
      platforms='any',
      classifiers=[
          'Topic :: System :: Networking',
          'Topic :: Games/Entertainment',
          'Topic :: Multimedia',
          'Intended Audience :: Developers',
          'Intended Audience :: End Users/Desktop',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
      ]
  )
  
subject: Use README as long_description.