from setuptools import find_packages
from setuptools import setup
import os

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()

requires = ['Jinja2',
            'path.py',
            'pkginfo',
            'pyramid',
            'pyramid_debugtoolbar',
            'pyramid_jinja2',
            'requests',
            'Paste',
            'pip']

setup(name='CheesePrism',
      version='0.1a2',
      description='CheesePrism',
      long_description=README + '\n\n' +  CHANGES,
      classifiers=[
        "Programming Language :: Python",
        "Framework :: Pylons",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      author='Whit Morriss (et al.)',
      author_email='whit-at-surveymonkey-dot-com',
      url='https://github.com/SurveyMonkey/CheesePrism',
      keywords='web pyramid pylons',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires=requires,
      tests_require=requires,
      test_suite="cheeseprism",
      entry_points = """\
      [paste.app_factory]
      main = cheeseprism.wsgiapp:main
      """,
      paster_plugins=['pyramid'],
      )

@@ -455,16 +455,61 @@
 'pip'%5D%0A%0A
+test_requires = %5B'mock', 'nose'%5D + requires%0A%0A
 setup(na
@@ -1165,16 +1165,21 @@
 require=
+test_
 requires
@@ -1198,27 +1198,30 @@
 _suite=%22
-cheeseprism
+nose.collector
 %22,%0A     

support setup.py test