old_contents: #!/usr/bin/env python
  
  from sys import platform
  
  requires = {}
  
  try:
      from setuptools import setup
  
      if not platform.startswith('java'):
          requires = {
              'install_requires': ['robotframework', 'paramiko >= 1.8.0'],
          }
  except ImportError:
      from distutils.core import setup
  
  
  from os.path import abspath, dirname, join
  
  execfile(join(dirname(abspath(__file__)), 'src', 'SSHLibrary', 'version.py'))
  
  # Maximum width in Windows installer seems to be 70 characters -------|
  DESCRIPTION = """
  This is a Robot Framework test library for testing SSH and SFTP.
  
  The library has the following main usages:
  - Executing commands on remote, either with blocking or non-blocking
    behaviour.
  - Writing and reading in an interactive session.
  - Transferring files and directories over SFTP.
  - Ensuring that files or directories exist on remote.
  
  Required packages:
      robotframework
      paramiko
  """[1:-1]
  
  CLASSIFIERS = """
  Development Status :: 5 - Production/Stable
  License :: OSI Approved :: Apache Software License
  Operating System :: OS Independent
  Programming Language :: Python
  Topic :: Software Development :: Testing
  """[1:-1]
  
  setup(
      name='robotframework-sshlibrary',
      version=VERSION, # resolved with execfile
      description='Robot Framework test library for SSH and SFTP',
      long_description=DESCRIPTION,
      author='Robot Framework Developers',
      author_email='robotframework-devel@groups.google.com',
      url='http://code.google.com/p/robotframework-sshlibrary/',
      license='Apache License 2.0',
      keywords='robotframework testing testautomation ssh sftp',
      platforms='any',
      classifiers=CLASSIFIERS.splitlines(),
      package_dir={'': 'src'},
      packages=['SSHLibrary'],
      **requires
  )
  
new_contents: #!/usr/bin/env python
  
  from sys import platform
  
  requires = {}
  
  try:
      from setuptools import setup
  
      if not platform.startswith('java'):
          requires = {
              'install_requires': ['robotframework', 'paramiko >= 1.8.0'],
          }
  except ImportError:
      from distutils.core import setup
  
  
  from os.path import abspath, dirname, join
  
  CURDIR = dirname(abspath(__file__))
  execfile(join(CURDIR, 'src', 'SSHLibrary', 'version.py'))
  with open(join(CURDIR, 'README.rst')) as readme:
      README = readme.read()
  CLASSIFIERS = """
  Development Status :: 5 - Production/Stable
  License :: OSI Approved :: Apache Software License
  Operating System :: OS Independent
  Programming Language :: Python
  Topic :: Software Development :: Testing
  """[1:-1]
  
  setup(
      name='robotframework-sshlibrary',
      version=VERSION, # resolved with execfile
      description='Robot Framework test library for SSH and SFTP',
      long_description=README,
      author='Robot Framework Developers',
      author_email='robotframework@gmail.com',
      url='http://code.google.com/p/robotframework-sshlibrary/',
      license='Apache License 2.0',
      keywords='robotframework testing testautomation ssh sftp',
      platforms='any',
      classifiers=CLASSIFIERS.splitlines(),
      package_dir={'': 'src'},
      packages=['SSHLibrary'],
      **requires
  )
  
subject: Use README.rst for long description