##############################################################################
#
# Copyright (c) 2007 Agendaless Consulting and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the BSD-like license at
# http://www.repoze.org/LICENSE.txt.  A copy of the license should accompany
# this distribution.  THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL
# EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO,
# THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND
# FITNESS FOR A PARTICULAR PURPOSE
#
##############################################################################

__version__ = '3.1.1.2'

from ez_setup import use_setuptools
use_setuptools()

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()

REQTS = (
    'repoze.zope2',
    'cmflib',
    'ploneproducts',
    'archetypes.kss==1.4',
    'borg.localrole==2.0.0',
    'five.customerize==0.2',
    'five.localsitemanager==0.3',
    'kss.core==1.4',
    'kss.demo==1.4',
    'plone.app.content==1.2',
    'plone.app.contentmenu==1.1.0',
    'plone.app.contentrules==1.1.0',
    'plone.app.controlpanel==1.1',
    'plone.app.customerize==1.1',
    'plone.app.form==1.1.0',
    'plone.app.i18n==1.0.4',
    'plone.app.iterate==1.1.0',
    'plone.app.kss==1.4',
    'plone.app.layout==1.1.0',
    'plone.app.linkintegrity==1.0.8',
    'plone.app.openid==1.0.3',
    'plone.app.portlets==1.1.0',
    'plone.app.redirector==1.0.7',
    'plone.app.viewletmanager==1.2',
    'plone.app.vocabularies==1.0.4',
    'plone.app.workflow==1.1.0',
    'plone.browserlayer==1.0.0',
    'plone.contentrules==1.1.0',
    'plone.fieldsets==1.0.1',
    'plone.i18n==1.0.4',
    'plone.intelligenttext==1.0.1',
    'plone.keyring==1.0',
    'plone.locking==1.0.5',
    'plone.memoize==1.0.4',
    'plone.openid==1.1',
    'plone.portlet.collection==1.1.0',
    'plone.portlet.static==1.1.0',
    'plone.portlets==1.1.0',
    'plone.protect==1.0',
    'plone.session==1.2',
    'plone.theme==1.0',
    'wicked==1.1.6',
)

setup(name='repoze.plone',
      version=__version__,
      description=('A metapackage that allows installation of Plone 3.1.1'
                   'within a repoze environment'),
      long_description=README,
      classifiers=[
        "Development Status :: 1 - Planning",
        "Intended Audience :: Developers",
        "Programming Language :: Python",
        "Framework :: Plone",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
        "Topic :: Internet :: WWW/HTTP :: WSGI",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      keywords='web application server wsgi zope plone',
      author="Agendaless Consulting",
      author_email="reopze-dev@lists.repoze.org",
      url="http://www.repoze.org",
      license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires=REQTS,
      tests_require=REQTS,
      entry_points = """\
      [repoze.project]
      initialize = repoze.zope2.instance:mkinstance
      """,
      )

