old_contents: #!/usr/bin/env python
  from distutils.core import setup
  
  for cmd in ('egg_info', 'develop'):
      import sys
      if cmd in sys.argv:
          from setuptools import setup
  
  setup(
      name='django-qsstats-magic',
      version='1.0.0',
      description='A django microframework that eases the generation of aggregate data for querysets.',
      long_description = open('README.rst').read(),
      author='Matt Croydon, Mikhail Korobov',
      author_email='mcroydon@gmail.com, kmike84@gmail.com',
      url='http://bitbucket.org/kmike/django-qsstats-magic/',
      packages=['qsstats'],
      requires=['dateutil(>=1.4.1, < 2.0)', 'six'],
      classifiers=[
          'Development Status :: 4 - Beta',
          'Environment :: Web Environment',
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.5',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Topic :: Software Development :: Libraries :: Python Modules',
      ],
  )
  
new_contents: #!/usr/bin/env python
  from distutils.core import setup
  
  for cmd in ('egg_info', 'develop'):
      import sys
      if cmd in sys.argv:
          from setuptools import setup
  
  setup(
      name='django-qsstats-magic',
      version='1.0.0',
      description='A django microframework that eases the generation of aggregate data for querysets.',
      long_description = open('README.rst').read(),
      author='Matt Croydon, Mikhail Korobov',
      author_email='mcroydon@gmail.com, kmike84@gmail.com',
      url='https://github.com/PetrDlouhy/django-qsstats-magic',
      packages=['qsstats'],
      requires=['dateutil(>=1.4.1, < 2.0)', 'six'],
      classifiers=[
          'Development Status :: 4 - Beta',
          'Environment :: Web Environment',
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.5',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Topic :: Software Development :: Libraries :: Python Modules',
      ],
  )
  
subject: update setup.py - url and add py3