old_contents: import haigha
  import os
  from distutils.core import setup
  
  
  requirements = map(str.strip, open('requirements.txt').readlines())
  
  setup(
      name='haigha',
      version=haigha.VERSION,
      author='Vitaly Babiy, Aaron Westendorf',
      author_email="vbabiy@agoragames.com, aaron@agoragames.com",
      packages = ['haigha', 'haigha.frames', 'haigha.classes'],
      install_requires = requirements,
      url='https://github.com/agoragames/haigha',
      license="LICENSE.txt",
      description='Event driven AMQP client library',
      long_description=open('README.rst').read(),
      keywords=['python', 'amqp', 'event', 'rabbitmq'],
      classifiers=[
          'Development Status :: 4 - Beta',
          'License :: OSI Approved :: BSD License',
          "Intended Audience :: Developers",
          "Operating System :: POSIX",
          "Topic :: Communications",
          "Topic :: System :: Distributed Computing",
          "Topic :: Software Development :: Libraries :: Python Modules",
          'Programming Language :: Python',
          'Topic :: Software Development :: Libraries'
      ]
  )
  
new_contents: import haigha
  import os
  
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  
  requirements = map(str.strip, open('requirements.txt').readlines())
  
  setup(
      name='haigha',
      version=haigha.VERSION,
      author='Vitaly Babiy, Aaron Westendorf',
      author_email="vbabiy@agoragames.com, aaron@agoragames.com",
      packages = ['haigha', 'haigha.frames', 'haigha.classes'],
      install_requires = requirements,
      url='https://github.com/agoragames/haigha',
      license="LICENSE.txt",
      description='Event driven AMQP client library',
      long_description=open('README.rst').read(),
      keywords=['python', 'amqp', 'event', 'rabbitmq'],
      classifiers=[
          'Development Status :: 4 - Beta',
          'License :: OSI Approved :: BSD License',
          "Intended Audience :: Developers",
          "Operating System :: POSIX",
          "Topic :: Communications",
          "Topic :: System :: Distributed Computing",
          "Topic :: Software Development :: Libraries :: Python Modules",
          'Programming Language :: Python',
          'Topic :: Software Development :: Libraries'
      ]
  )
  
subject: Use setuptools for 'setup.py develop', with fallback to distutils