old_contents: from setuptools import setup, find_packages
  
  setup(
      name='moksha',
      version='0.1',
      description='',
      author='',
      author_email='',
      #url='',
      install_requires=[
          "TurboGears2",
          "ToscaWidgets >= 0.9.1",
          "zope.sqlalchemy",
          "Shove",
          "feedcache",
          "feedparser",
          "tw.jquery",
          "repoze.squeeze",
          "repoze.profile",
          "orbited",
          "twisted",
          "amqplib",
      ],
      packages=find_packages(exclude=['ez_setup']),
      include_package_data=True,
      test_suite='nose.collector',
      tests_require=['WebTest', 'BeautifulSoup'],
      package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo',
                                   'templates/*/*',
                                   'public/*/*']},
      message_extractors = {'moksha': [
              ('**.py', 'python', None),
              ('templates/**.mako', 'mako', None),
              ('templates/**.html', 'genshi', None),
              ('public/**', 'ignore', None)]},
  
      entry_points="""
      [paste.app_factory]
      main = moksha.config.middleware:make_app
  
      [paste.app_install]
      main = pylons.util:PylonsInstaller
  
      [moksha.widget]
      liveflot = moksha.api.widgets.flot:LiveFlotWidget
      livefeed = moksha.api.widgets.feed.live:LiveFeedWidget
      livegraph = moksha.examples.livegraph:LiveGraphWidget
      chat = moksha.api.widgets.chat:LiveChatWidget
      """,
  )
  
new_contents: from setuptools import setup, find_packages
  
  setup(
      name='moksha',
      version='0.1',
      description='',
      author='',
      author_email='',
      #url='',
      install_requires=[
          "TurboGears2",
          "ToscaWidgets >= 0.9.1",
          "zope.sqlalchemy",
          "Shove",
          "feedcache",
          "feedparser",
          "tw.jquery",
          "repoze.squeeze",
          "repoze.profile",
          "orbited",
          "twisted",
          "amqplib",
      ],
      packages=find_packages(exclude=['ez_setup']),
      include_package_data=True,
      test_suite='nose.collector',
      tests_require=['WebTest', 'BeautifulSoup'],
      package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo',
                                   'templates/*/*',
                                   'public/*/*']},
      message_extractors = {'moksha': [
              ('**.py', 'python', None),
              ('templates/**.mako', 'mako', None),
              ('templates/**.html', 'genshi', None),
              ('public/**', 'ignore', None)]},
  
      entry_points="""
  
      [paste.app_factory]
      main = moksha.config.middleware:make_app
  
      [paste.app_install]
      main = pylons.util:PylonsInstaller
  
      [moksha.stream]
      demo = moksha.streams.demo:MokshaDemoDataStream
      feed = moksha.streams.feed:FeedStream
  
      [moksha.consumer]
      moksha = moksha.hub:MokshaConsumer
  
      [moksha.widget]
      liveflot = moksha.api.widgets.flot:LiveFlotWidget
      livefeed = moksha.api.widgets.feed.live:LiveFeedWidget
      livegraph = moksha.examples.livegraph:LiveGraphWidget
      chat = moksha.api.widgets.chat:LiveChatWidget
  
      """,
  )
  
subject: Add the moksha.consumer and moksha.stream entry points to our setup.py