old_contents: #!/usr/bin/env python
  import os
  import sys
  from setuptools import setup
  
  if "publish" in sys.argv[-1]:
      os.system("python setup.py sdist upload -r pypi")
      sys.exit()
  elif "publish-test" in sys.argv[-1]:
      os.system("python setup.py sdist upload -r pypitest")
      sys.exit()
  
  # PyPi requires reStructuredText instead of Markdown,
  # so we convert our Markdown README for the long description
  try:
     import pypandoc
     long_description = pypandoc.convert('README.md', 'rst')
  except (IOError, ImportError):
     long_description = open('README.md').read()
  
  # Command-line tools
  entry_points = {'console_scripts': [
      'K2ephem = K2ephem:K2ephem_main'
  ]}
  
  setup(name='K2ephem',
        version='1.1.0',
        description="Check if a Solar System object is "
                    "(or was) observable by NASA's K2 mission. "
                    "This command will query JPL/Horizons "
                    "to find out.",
        long_description=long_description,
        author='Geert Barentsen',
        author_email='hello@geert.io',
        url='https://github.com/KeplerGO/K2ephem',
        packages=['K2ephem'],
        install_requires=["pandas>=0.16", "K2fov>=3.0"],
        entry_points=entry_points,
        classifiers=[
            "Development Status :: 5 - Production/Stable",
            "License :: OSI Approved :: MIT License",
            "Operating System :: OS Independent",
            "Programming Language :: Python",
            "Intended Audience :: Science/Research",
            "Topic :: Scientific/Engineering :: Astronomy",
            ],
        )
  
new_contents: #!/usr/bin/env python
  import os
  import sys
  from setuptools import setup
  
  if "publish" in sys.argv[-1]:
      os.system("python setup.py sdist upload -r pypi")
      sys.exit()
  elif "publish-test" in sys.argv[-1]:
      os.system("python setup.py sdist upload -r pypitest")
      sys.exit()
  
  # PyPi requires reStructuredText instead of Markdown,
  # so we convert our Markdown README for the long description
  try:
     import pypandoc
     long_description = pypandoc.convert('README.md', 'rst')
  except (IOError, ImportError):
     long_description = open('README.md').read()
  
  # Command-line tools
  entry_points = {'console_scripts': [
      'K2ephem = K2ephem:K2ephem_main'
  ]}
  
  setup(name='K2ephem',
        version='1.1.1',
        description="Check if a Solar System object is "
                    "(or was) observable by NASA's K2 mission. "
                    "This command will query JPL/Horizons "
                    "to find out.",
        long_description=long_description,
        author='Geert Barentsen',
        author_email='hello@geert.io',
        url='https://github.com/KeplerGO/K2ephem',
        packages=['K2ephem'],
        install_requires=["pandas>=0.16", "K2fov>=3.0"],
        entry_points=entry_points,
        classifiers=[
            "Development Status :: 5 - Production/Stable",
            "License :: OSI Approved :: MIT License",
            "Operating System :: OS Independent",
            "Programming Language :: Python",
            "Intended Audience :: Science/Research",
            "Topic :: Scientific/Engineering :: Astronomy",
            ],
        )
  
subject: Bump version - bugfix release due to missing MANIFEST.in file