old_contents: # -*- coding: utf-8 -*-
  
  
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  try:
      import pypandoc
      readme = pypandoc.convert('README.md', 'rst')
      history = pypandoc.convert('HISTORY.md', 'rst')
  except ImportError:
      with open('README.md') as readme_file:
          readme = readme_file.read()
      with open('HISTORY.md') as history_file:
          history = history_file.read()
  
  from pycookiecheat._version import __version__
  
  with open('requirements.txt') as requirements_file:
      requirements = requirements_file.read().splitlines()
  
  
  test_requirements = [
      'pytest>=2.6.4'
  ]
  
  setup(
      name='pycookiecheat',
      version=__version__,
      description="Borrow cookies from your browser's authenticated session for"
                  "use in Python scripts.",
      long_description=readme + '\n\n' + history,
      author='Nathan Henrie',
      author_email='nate@n8henrie.com',
      url='https://github.com/n8henrie/pycookiecheat',
      packages=[
          'pycookiecheat',
      ],
      package_dir={'pycookiecheat':
                   'pycookiecheat'},
      include_package_data=True,
      install_requires=requirements,
      license="GPLv3",
      zip_safe=False,
      keywords='pycookiecheat',
      classifiers=[
          'Natural Language :: English',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
      ],
      test_suite='tests',
      tests_require=test_requirements
  )
  
new_contents: # -*- coding: utf-8 -*-
  
  
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  try:
      import pypandoc
      readme = pypandoc.convert('README.md', 'rst')
      history = pypandoc.convert('HISTORY.md', 'rst')
  except ImportError:
      with open('README.md') as readme_file:
          readme = readme_file.read()
      with open('HISTORY.md') as history_file:
          history = history_file.read()
  
  exec(open('pycookiecheat/_version.py').read())
  
  with open('requirements.txt') as requirements_file:
      requirements = requirements_file.read().splitlines()
  
  
  test_requirements = [
      'pytest>=2.6.4'
  ]
  
  setup(
      name='pycookiecheat',
      version=__version__,  # noqa
      description="Borrow cookies from your browser's authenticated session for"
                  "use in Python scripts.",
      long_description=readme + '\n\n' + history,
      author='Nathan Henrie',
      author_email='nate@n8henrie.com',
      url='https://github.com/n8henrie/pycookiecheat',
      packages=[
          'pycookiecheat',
      ],
      package_dir={'pycookiecheat':
                   'pycookiecheat'},
      include_package_data=True,
      install_requires=requirements,
      license="GPLv3",
      zip_safe=False,
      keywords='pycookiecheat',
      classifiers=[
          'Natural Language :: English',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
      ],
      test_suite='tests',
      tests_require=test_requirements
  )
  
subject: Read in version from file