old_contents: #!/usr/bin/env python
  
  import os
  import sys
  
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  
  if sys.argv[-1] == 'publish':
      os.system('python setup.py sdist upload')
      sys.exit()
  
  os.system('make rst')
  try:
      readme = open('README.rst').read()
  except FileNotFoundError:
      print('pandoc not found, not making rst description')
      readme = ''
  
  setup(
      name='leicacam',
      version=open(os.path.join('leicacam', 'VERSION')).read().strip(),
      description='Control Leica microscopes with python',
      long_description=readme,
      author='Arve Seljebu',
      author_email='arve.seljebu@gmail.com',
      url='https://github.com/arve0/leicacam',
      packages=[
          'leicacam',
      ],
      package_dir={'leicacam': 'leicacam'},
      include_package_data=True,
      install_requires=[
      ],
      license='MIT',
      zip_safe=False,
      keywords='leicacam',
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: Implementation :: PyPy',
      ],
  )
  
new_contents: #!/usr/bin/env python
  
  import os
  import sys
  from setuptools import setup
  
  
  os.system('make rst')
  try:
      readme = open('README.rst').read()
  except FileNotFoundError:
      print('pandoc not found, not making rst description')
      readme = ''
  
  setup(
      name='leicacam',
      version=open(os.path.join('leicacam', 'VERSION')).read().strip(),
      description='Control Leica microscopes with python',
      long_description=readme,
      author='Arve Seljebu',
      author_email='arve.seljebu@gmail.com',
      url='https://github.com/arve0/leicacam',
      packages=[
          'leicacam',
      ],
      package_dir={'leicacam': 'leicacam'},
      include_package_data=True,
      install_requires=[
      ],
      license='MIT',
      zip_safe=False,
      keywords='leicacam',
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4',
      ],
  )
  
subject: use setuptools, remove pypy