This repository has been archived by the owner on Nov 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
99 lines (96 loc) · 3.51 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# -*- coding: utf-8 -*-
############################################################################
#
# Copyright © 2010, 2011, 2012, 2013, 2014, 2015 OnlineGroups.net and
# Contributors.
#
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL 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.
#
############################################################################
import codecs
import os
from setuptools import setup, find_packages
from version import get_version
name='gs.group.member.add.base'
version = get_version()
with codecs.open('README.rst', encoding='utf-8') as f:
long_description = f.read()
with codecs.open(os.path.join("docs", "HISTORY.rst"),
encoding='utf-8') as f:
long_description += '\n' + f.read()
setup(name=name,
version=version,
description="Add people to a GroupServer group, without an "
"invitation",
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
"Environment :: Web Environment",
"Framework :: Zope2",
"Intended Audience :: Developers",
'License :: OSI Approved :: Zope Public License',
"Natural Language :: English",
"Natural Language :: French",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='group, membership, add, group administration',
author='Michael JasonSmith',
author_email='[email protected]',
url='https://github.com/groupserver/{0}'.format(name),
license='ZPL 2.1',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['.'.join(name.split('.')[:i])
for i in range(1, len(name.split('.')))],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'pytz',
'zope.browserpage', # For the <browser:page /> ZCML
'zope.cachedescriptors',
'zope.component',
'zope.formlib',
'zope.i18n[compile]',
'zope.i18nmessageid',
'zope.interface',
'zope.tal',
'zope.tales',
'zope.viewlet',
'Zope2',
'gs.content.email.base',
'gs.content.email.layout',
'gs.content.form.base',
'gs.content.layout',
'gs.core',
'gs.group.base',
'gs.group.member.base',
'gs.group.member.info', # For the admin-links
'gs.group.member.invite.base',
'gs.group.member.join',
'gs.group.member.list',
'gs.group.member.viewlet',
# The notification has a list of topics
'gs.group.messages.topic.list',
'gs.help',
'gs.profile.email.base',
'gs.profile.notify',
'gs.profile.password',
'Products.CustomUserFolder',
'Products.GSAuditTrail',
'Products.GSGroup',
'Products.GSProfile',
'Products.XWFCore',
],
entry_points="""# -*- Entry points: -*-
""",)