old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  from setuptools import setup
   
  setup(
      name='pytest_django',
      version='0.2.1',
      description='A Django plugin for py.test.',
      author='Ben Firshman',
      author_email='ben@firshman.co.uk',
      url='http://github.com/bfirsh/pytest_django/',
      packages=[
          'pytest_django',
      ],
      classifiers=['Development Status :: 4 - Beta',
                   'Framework :: Django',
                   'Intended Audience :: Developers',
                   'License :: OSI Approved :: BSD License',
                   'Operating System :: OS Independent',
                   'Programming Language :: Python',
                   'Topic :: Software Development :: Testing'],
      # the following makes a plugin available to py.test
      entry_points = {
          'django_pytest': [
              'name_of_plugin = pytest_django',
          ]
      },
  )
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  from setuptools import setup
   
  setup(
      name='pytest_django',
      version='0.2.1',
      description='A Django plugin for py.test.',
      author='Ben Firshman',
      author_email='ben@firshman.co.uk',
      url='http://github.com/bfirsh/pytest_django/',
      packages=[
          'pytest_django',
      ],
      classifiers=['Development Status :: 4 - Beta',
                   'Framework :: Django',
                   'Intended Audience :: Developers',
                   'License :: OSI Approved :: BSD License',
                   'Operating System :: OS Independent',
                   'Programming Language :: Python',
                   'Topic :: Software Development :: Testing'],
      # the following makes a plugin available to py.test
      entry_points=dict(pytest11=['django = pytest_django']))
  
subject: set entry_point like in the py.test 2.2 docs