import os

from setuptools import setup, find_packages

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

requires = [
    "pyramid",
    "SQLAlchemy",
    "transaction",
    "pyramid_tm",
    "pyramid_debugtoolbar",
    "zope.sqlalchemy",
    "waitress",
    ]

setup(name="caramel",
      version="0.0",
      description="caramel",
      long_description=README + "\n\n" + CHANGES,
      classifiers=[
        "Programming Language :: Python",
        "Framework :: Pyramid",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      author="",
      author_email="",
      url="",
      keywords="web wsgi bfg pylons pyramid",
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      test_suite="caramel",
      install_requires=requires,
      entry_points="""\
      [paste.app_factory]
      main = caramel:main
      [console_scripts]
      initialize_caramel_db = caramel.scripts.initializedb:main
      """,
      )

import os

from setuptools import setup, find_packages

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

requires = [
    "pyramid",
    "SQLAlchemy",
    "transaction",
    "pyramid_tm",
    "pyramid_debugtoolbar",
    "zope.sqlalchemy",
    "waitress",
    "pyOpenSSL"
    ]

setup(name="caramel",
      version="0.0",
      description="caramel",
      long_description=README + "\n\n" + CHANGES,
      classifiers=[
        "Programming Language :: Python",
        "Framework :: Pyramid",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      author="",
      author_email="",
      url="",
      keywords="web wsgi bfg pylons pyramid",
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      test_suite="caramel",
      install_requires=requires,
      entry_points="""\
      [paste.app_factory]
      main = caramel:main
      [console_scripts]
      initialize_caramel_db = caramel.scripts.initializedb:main
      """,
      )

Add model for certificate signing request (CSR)
Add model for certificate signing request (CSR)

Clean out view/db_init code from scaffold.
Replace routes from scaffold.
Add pyOpenSSL dependancy to setup.py.
