old_contents: """
  Usage instructions:
  
  - If you are installing: `python setup.py install`
  - If you are developing: `python setup.py sdist upload`
  """
  
  try:
      import pypandoc
      long_description = pypandoc.convert('README.md', 'rst')
  except:
      try:
          long_description = open('README.md').read()
      except:
          long_description = ''
  
  from setuptools import setup
  
  setup(
      name='keyboard',
      version='0.6.4',
      author='BoppreH',
      author_email='boppreh@gmail.com',
      packages=['keyboard'],
      url='https://github.com/boppreh/keyboard',
      license='MIT',
      description='Hook and simulate keyboard events on Windows and Linux',
      keywords = 'keyboard hook simulate hotkey',
      long_description=long_description,
  
      classifiers=[
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Operating System :: Microsoft :: Windows',
          'Operating System :: Unix',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 3',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Utilities',
      ],
  )
  
new_contents: """
  Usage instructions:
  
  - If you are installing: `python setup.py install`
  - If you are developing: `python setup.py sdist bdist --format=zip bdist_wheel --universal`
  """
  
  try:
      import pypandoc
      long_description = pypandoc.convert('README.md', 'rst')
  except ImportError:
      print('Failed to convert README to rst.')
      try:
          long_description = open('README.md').read()
      except:
          long_description = ''
  
  from setuptools import setup
  
  setup(
      name='keyboard',
      version='0.6.5',
      author='BoppreH',
      author_email='boppreh@gmail.com',
      packages=['keyboard'],
      url='https://github.com/boppreh/keyboard',
      license='MIT',
      description='Hook and simulate keyboard events on Windows and Linux',
      keywords = 'keyboard hook simulate hotkey',
      long_description=long_description,
  
      classifiers=[
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Operating System :: Microsoft :: Windows',
          'Operating System :: Unix',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 3',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Utilities',
      ],
  )
  
subject: Update setup.py with upload instructions