-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
71 lines (65 loc) · 2.16 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import os
from setuptools import setup, find_packages
def read(*rnames):
text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
text = unicode(text, 'utf-8').encode('ascii', 'xmlcharrefreplace')
return text
tests_require = [
'zope.app.testing',
'zope.container',
]
description = '\n\n'.join([
read('README.txt'),
('Detailed Documentation\n'
'**********************\n'),
read('plone', 'contentratings', 'README.txt'),
read('plone', 'contentratings', 'TODO.txt'),
read('docs', 'HISTORY.txt'),
])
setup(name='plone.contentratings',
version='1.2.0.dev0',
description="Plone support for the contentratings package",
long_description=description,
classifiers=[
"License :: OSI Approved :: GNU General Public License (GPL)",
"Framework :: Plone",
"Framework :: Plone :: 4.1",
"Framework :: Plone :: 4.2",
"Framework :: Plone :: 4.3",
"Framework :: Zope2",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='plone ratings, dexterity, behaviour, behavior',
author='Alec Mitchell',
author_email='[email protected]',
url='https://github.com/collective/plone.contentratings',
license='GPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['plone'],
include_package_data=True,
zip_safe=False,
tests_require=tests_require,
extras_require=dict(test=tests_require),
install_requires=[
'setuptools',
'Products.CMFCore',
'Products.ATContentTypes',
'Products.Archetypes',
'archetypes.schemaextender',
'contentratings>=1.0',
'plone.app.controlpanel',
'rwproperty',
'zope.app.component',
'zope.app.form',
'zope.browserpage',
'zope.component',
],
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
""",
)