import os

from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.txt')) as f:
    README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
    CHANGES = f.read()

requires = [
    'pyramid',
    'pyramid_beaker',
    'pyramid_mako',
    'pyramid_debugtoolbar',
    'waitress',
    'wtforms',
    'psycopg2',
    'markupsafe',
    ]

setup(name='GMI_Pyramid',
      version='0.5',
      description='GMI_Pyramid, various apps for the Gombe-MI project',
      long_description=README + '\n\n' + CHANGES,
      classifiers=[
        "Programming Language :: Python",
        "Framework :: Pyramid",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      author='Karl O. Pinc',
      author_email='kop@meme.com',
      url='http://gombemi.ccas.gwu.edu/',
      keywords='web pyramid pylons chimpanzee',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires=requires,
      tests_require=requires,
      test_suite="gmi_pyramid",
      entry_points="""\
      [paste.app_factory]
      main = gmi_pyramid:main
      """,
      )
