-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
99 lines (88 loc) · 2.52 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
from setuptools import find_packages
from setuptools import setup
import os
version = '1.11.2.dev0'
maintainer = 'Mathias Leimgruber'
tests_require = [
'ftw.builder',
'plone.app.testing',
'ftw.testbrowser',
'ftw.contacts [zip_export, simplelayout, geo, ldap]',
'ftw.testing',
]
zip_export = [
'ftw.zipexport',
]
simplelayout = [
'ftw.simplelayout [contenttypes]',
'ftw.referencewidget',
]
geo = [
'ftw.geo',
'collective.geo.openlayers >= 3.2b1',
'collective.geo.bundle [dexterity]',
]
ldap = [
'python-ldap<=2.4.25',
'Products.PloneLDAP',
'Products.LDAPUserFolder < 3a',
]
extras_require = {
'tests': tests_require,
'zip_export': zip_export,
'simplelayout': simplelayout,
'geo': geo,
'ldap': ldap,
'plone4': [
'plone.app.referenceablebehavior',
],
}
setup(name='ftw.contacts',
version=version,
description='Provides a contact-contenttype',
long_description=open(
'README.rst').read() + '\n' + open(
os.path.join('docs', 'HISTORY.txt')).read(),
# Get more strings from
# http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Framework :: Plone',
'Framework :: Plone :: 4.3',
'Framework :: Plone :: 5.1',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='ftw plone contacts',
author='4teamwork AG',
author_email='mailto:info@4teamwork.ch',
maintainer=maintainer,
url='https://github.com/4teamwork/ftw.contacts',
license='GPL2',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['ftw', ],
include_package_data=True,
zip_safe=False,
install_requires=[
'Plone',
'z3c.schema',
'setuptools',
'collective.dexteritytextindexer',
'collective.js.jqueryui',
'plone.app.relationfield',
'plone.api >= 1.3.3',
'ftw.zipexport',
'ftw.autofeature',
'ftw.upgrade',
],
tests_require=tests_require,
extras_require=extras_require,
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
[plone.recipe.zope2instance.ctl]
sync_contacts = ftw.contacts.sync.command:do_sync_profiles
""",
)