forked from collective/contentratings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (49 loc) · 1.89 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
from setuptools import setup, find_packages
import os
version = '1.2'
def read(*rnames):
text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
text = unicode(text, 'utf-8').encode('ascii', 'xmlcharrefreplace')
return text
description = read('README.txt') + '\n\n' + \
'Detailed Documentation\n' + \
'**********************\n\n' + \
read('contentratings', 'README.txt') + '\n\n' + \
read('HISTORY.txt')
setup(name='contentratings',
version=version,
description="A small Zope 3 package (which also works with Zope 2.10+ and Five) that allows you to attach ratings to content.",
long_description=description,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Framework :: Zope3',
'Framework :: Zope2',
'Framework :: Plone',
'Framework :: Plone :: 4.0',
'Framework :: Plone :: 4.1',
'Framework :: Plone :: 4.2',
'Framework :: Plone :: 4.3',
'Framework :: Plone :: 5.0',
'Framework :: Plone :: 5.1',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='ratings zope plone zope3',
author='Alec Mitchell',
author_email='[email protected]',
url='http://plone.org/products/contentratings',
license='ZPL',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'zope.componentvocabulary',
'zope.container',
],
extras_require=dict(test=['zope.testing', 'zope.app.testing', ],
zope3=['zope.app.content', ]),
)