old_contents: import os
  from setuptools import setup, find_packages
  
  ROOT = os.path.abspath(os.path.dirname(__file__))
  
  setup(
      name='django-nose',
      version='0.2',
      description='Django test runner that uses nose.',
      long_description=open(os.path.join(ROOT, 'README.rst')).read(),
      author='Jeff Balogh',
      author_email='me@jeffbalogh.org',
      url='http://github.com/jbalogh/django-nose',
      license='BSD',
      packages=find_packages(exclude=['testapp','testapp/*']),
      include_package_data=True,
      zip_safe=False,
      install_requires=['nose'],
      tests_require=['Django', 'south'],
      entry_points="""
          [nose.plugins.0.10]
          fixture_bundler = django_nose.fixture_bundling:FixtureBundlingPlugin
          """,
      classifiers=[
          'Development Status :: 4 - Beta',
          'Environment :: Web Environment',
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Topic :: Software Development :: Libraries :: Python Modules',
      ]
  )
  
new_contents: import os
  from setuptools import setup, find_packages
  
  ROOT = os.path.abspath(os.path.dirname(__file__))
  
  setup(
      name='django-nose',
      version='0.2',
      description='Django test runner that uses nose.',
      long_description=open(os.path.join(ROOT, 'README.rst')).read(),
      author='Jeff Balogh',
      author_email='me@jeffbalogh.org',
      url='http://github.com/jbalogh/django-nose',
      license='BSD',
      packages=find_packages(exclude=['testapp','testapp/*']),
      include_package_data=True,
      zip_safe=False,
      install_requires=['nose'],
      tests_require=['Django', 'south'],
      # This blows up tox runs that install django-nose into a virtualenv,
      # because it causes Nose to import django_nose.runner before the Django
      # settings are initialized, leading to a mess of errors. There's no reason
      # we need FixtureBundlingPlugin declared as an entrypoint anyway, since you
      # need to be using django-nose to find the it useful, and django-nose knows
      # about it intrinsically.
      #entry_points="""
      #    [nose.plugins.0.10]
      #    fixture_bundler = django_nose.fixture_bundling:FixtureBundlingPlugin
      #    """,
      classifiers=[
          'Development Status :: 4 - Beta',
          'Environment :: Web Environment',
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Topic :: Software Development :: Libraries :: Python Modules',
      ]
  )
  
subject: Comment out entrypoint because it blows up django-nose in connection with tox. Ouch.