old_contents: #!/usr/bin/env python
  
  from os.path import join, dirname
  
  from setuptools import setup, find_packages
  
  
  NAME = 'django-softdeletion'
  PACKAGE = NAME.replace('-', '_')
  CLASSIFIERS = (
      'Development Status :: 3 - Alpha',
      'Environment :: Web Environment',
      'Framework :: Django',
      'Programming Language :: Python :: 2.7',
      'License :: OSI Approved :: MIT License',
  )
  REQUIREMENTS = open('requirements/base.txt').read()
  
  
  def get_version():
      with open(join(PACKAGE, '__init__.py')) as fileobj:
          for line in fileobj:
              if line.startswith('__version__ ='):
                  return line.split('=', 1)[1].strip()[1:-1]
          else:
              raise Exception(
                  '__version__ is not defined in %s.__init__' % PACKAGE)
  
  
  def read(filename):
      return open(join(dirname(__file__), filename)).read()
  
  
  setup(
      name=NAME,
      version=get_version(),
      description='Soft deletion for Django models',
      long_description=read('README.rst'),
      url='https://github.com/pmuller/django-softdeletion',
      packages=find_packages(),
      install_requires=REQUIREMENTS,
      classifiers=CLASSIFIERS,
      test_suite='runtests.runtests',
      license='MIT',
  )
  
new_contents: #!/usr/bin/env python
  
  from os.path import join, dirname
  
  from setuptools import setup, find_packages
  
  
  NAME = 'django-softdeletion'
  PACKAGE = NAME.replace('-', '_')
  CLASSIFIERS = (
      'Development Status :: 3 - Alpha',
      'Environment :: Web Environment',
      'Framework :: Django',
      'Programming Language :: Python :: 2.7',
      'License :: OSI Approved :: MIT License',
  )
  REQUIREMENTS = open('requirements/base.txt').read()
  
  
  def get_version():
      with open(join(PACKAGE, '__init__.py')) as fileobj:
          for line in fileobj:
              if line.startswith('__version__ ='):
                  return line.split('=', 1)[1].strip()[1:-1]
          else:
              raise Exception(
                  '__version__ is not defined in %s.__init__' % PACKAGE)
  
  
  def read(filename):
      return open(join(dirname(__file__), filename)).read()
  
  
  setup(
      name=NAME,
      version=get_version(),
      description='Soft deletion for Django models',
      long_description=read('README.rst'),
      author='Philippe Muller',
      author_email='philippe.muller@gmail.com',
      url='https://github.com/pmuller/django-softdeletion',
      packages=find_packages(),
      install_requires=REQUIREMENTS,
      classifiers=CLASSIFIERS,
      test_suite='runtests.runtests',
      license='MIT',
  )
  
subject: add author & author_email to setup.py