old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  """Install rapcom."""
  
  from __future__ import unicode_literals
  
  import subprocess
  import sys
  
  from setuptools import setup
  from setuptools import find_packages
  
  from rapcom import __version__ as version
  
  
  if sys.argv[-1] == 'publish':
      subprocess.call(['python', 'setup.py', 'sdist', 'upload'])
      subprocess.call(['python', 'setup.py', 'bdist_wheel', 'upload'])
      sys.exit()
  
  if sys.argv[-1] == 'tag':
      subprocess.call(['git', 'tag', '-a', version, '-m', 'v{}'.format(version)])
      subprocess.call(['git', 'push', '--tags'])
      sys.exit()
  
  try:
      import pypandoc
      long_description = pypandoc.convert('README.md', 'rst')
  except ImportError:
      with open('README.md') as readme:
          long_description = readme.read()
  
  setup(
      name='rapcom',
      version=version,
      description='A library for rapidly creating command-line tools.',
      long_description=long_description,
      author='Dangle Nuño',
      author_email='dangle@rooph.io',
      url='https://github.com/dangle/rapcom',
      keywords=['docopt', 'commands', 'subcommands', 'tooling', 'cli'],
      license='MIT',
      packages=find_packages(exclude=['tests', 'docs']),
      install_requires=[
          'colorama >= 0.3.7, < 0.4',
          'tqdm >= 4.8.0, < 5',
          'docopt >= 0.6.2, < 1',
          'six >= 1, < 2',
          'backports.shutil_get_terminal_size'
      ],
      setup_requires=['pytest-runner'],
      tests_require=['pytest >= 2.9, < 3'],
      entry_points={
          'distutils.setup_keywords': [
              'autodetect_commands = rapcom.autodetect:setup_keyword'
          ]
      },
      classifiers=[
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Intended Audience :: Developers',
          'Topic :: Utilities'
      ]
  )
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  """Install rapcom."""
  
  from __future__ import unicode_literals
  
  import subprocess
  import sys
  
  from setuptools import setup
  from setuptools import find_packages
  
  import rapcom
  
  
  setup(
      name='rapcom',
      version=rapcom.__version__,
      description='A library for rapidly creating command-line tools.',
      long_description=open('README.md').read(),
      author='Dangle Nuño',
      author_email='dangle@rooph.io',
      url='https://github.com/dangle/rapcom',
      keywords=['docopt', 'commands', 'subcommands', 'tooling', 'cli'],
      license='MIT',
      packages=find_packages(exclude=['tests', 'docs']),
      install_requires=[
          'colorama >= 0.3.7, < 0.4',
          'tqdm >= 4.8.0, < 5',
          'docopt >= 0.6.2, < 1',
          'six >= 1, < 2',
          'backports.shutil_get_terminal_size'
      ],
      setup_requires=['pytest-runner'],
      tests_require=['pytest >= 2.9, < 3'],
      entry_points={
          'distutils.setup_keywords': [
              'autodetect_commands = rapcom.autodetect:setup_keyword'
          ]
      },
      classifiers=[
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Intended Audience :: Developers',
          'Topic :: Utilities'
      ]
  )
  
subject: Remove unnecessary setup.py enhancements.