2010-12-15 21:39:55 +01:00
|
|
|
import sys
|
2009-05-11 18:52:16 +02:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2011-04-21 15:19:04 +02:00
|
|
|
version = '2.0'
|
2009-05-11 18:52:16 +02:00
|
|
|
|
2010-12-15 21:39:55 +01:00
|
|
|
install_requires = [
|
|
|
|
'setuptools',
|
|
|
|
'collective.monkeypatcher',
|
|
|
|
'plone.app.layout',
|
|
|
|
'plone.app.registry',
|
|
|
|
'plone.app.z3cform',
|
|
|
|
'plone.indexer',
|
|
|
|
'plone.registry',
|
|
|
|
'plone.z3cform',
|
|
|
|
'ZODB3',
|
|
|
|
'zope.interface',
|
|
|
|
'zope.component',
|
|
|
|
'zope.annotation',
|
|
|
|
'zope.event',
|
|
|
|
'zope.container',
|
|
|
|
'zope.lifecycleevent',
|
|
|
|
'zope.site',
|
|
|
|
'z3c.form>=2.3.3',
|
|
|
|
]
|
|
|
|
|
|
|
|
# On Python 2.6 (implying Plone 4), require plone.app.uuid
|
|
|
|
if sys.version_info >= (2,6):
|
|
|
|
install_requires.append('plone.app.uuid')
|
|
|
|
|
2009-05-11 18:52:16 +02:00
|
|
|
setup(name='plone.app.discussion',
|
|
|
|
version=version,
|
|
|
|
description="Enhanced discussion support for Plone",
|
|
|
|
long_description=open("README.txt").read() + "\n" +
|
2010-01-28 16:33:50 +01:00
|
|
|
open("CHANGES.txt").read(),
|
2009-05-11 18:52:16 +02:00
|
|
|
classifiers=[
|
|
|
|
"Framework :: Plone",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
],
|
2010-04-04 19:26:09 +02:00
|
|
|
keywords='plone discussion',
|
2010-06-02 12:33:47 +02:00
|
|
|
author='Timo Stollenwerk - Plone Foundation',
|
|
|
|
author_email='plone-developers@lists.sourceforge.net',
|
2009-05-11 18:52:16 +02:00
|
|
|
url='http://pypi.python.org/pypi/plone.app.discussion',
|
|
|
|
license='GPL',
|
|
|
|
packages=find_packages(exclude=['ez_setup']),
|
|
|
|
namespace_packages=['plone', 'plone.app'],
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
2010-12-15 21:39:55 +01:00
|
|
|
install_requires=install_requires,
|
2010-09-28 18:35:45 +02:00
|
|
|
extras_require = {
|
|
|
|
'test': [
|
|
|
|
'plone.app.testing',
|
|
|
|
'interlude',
|
|
|
|
]
|
|
|
|
},
|
2009-05-11 18:52:16 +02:00
|
|
|
entry_points="""
|
2009-05-18 16:16:48 +02:00
|
|
|
[z3c.autoinclude.plugin]
|
|
|
|
target = plone
|
2009-05-11 18:52:16 +02:00
|
|
|
""",
|
|
|
|
)
|