old_contents: import os
  from setuptools import setup
  
  
  with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
      README = readme.read()
  
  # allow setup.py to be run from any path
  os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  os.environ['DJANGO_SETTINGS_MODULE'] = 'stream_django.tests.django_settings'
  
  test_requirements = [
      'django>=1.5',
      'httpretty',
      'nose',
      'nosexcover'
  ]
  
  setup(
      name='stream-django',
      version='0.3.1',
      packages=['stream_django'],
      include_package_data=True,
      install_requires=[
          'stream-python',
          'pytz'
      ],
      tests_require=test_requirements,
      test_suite='nose.collector',
      license='BSD License',
      description='A Django app to build activity feeds.',
      long_description=README,
      url='https://getstream.io/',
      author='Tommaso Barbugli',
      author_email='tbarbugli@gmail.com',
      classifiers=[
          'Environment :: Web Environment',
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2.7',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
      ],
  )
  
new_contents: import os
  from setuptools import setup
  
  
  with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
      README = readme.read()
  
  # allow setup.py to be run from any path
  os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
  os.environ['DJANGO_SETTINGS_MODULE'] = 'stream_django.tests.django_settings'
  
  test_requirements = [
      'django>=1.5',
      'httpretty',
      'nose',
      'nosexcover'
  ]
  
  setup(
      name='stream-django',
      version='0.3.1',
      packages=['stream_django'],
      include_package_data=True,
      install_requires=[
          'stream-python',
          'pytz'
      ],
      tests_require=test_requirements,
      setup_requires=test_requirements,
      test_suite='nose.collector',
      license='BSD License',
      description='A Django app to build activity feeds.',
      long_description=README,
      url='https://getstream.io/',
      author='Tommaso Barbugli',
      author_email='tbarbugli@gmail.com',
      classifiers=[
          'Environment :: Web Environment',
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2.7',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
      ],
  )
  
subject: fix nosetest plugin deps