-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
138 lines (124 loc) · 3.85 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools import find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(
name='castle.cms',
description='CastleCMS Plone distribution main package',
long_description_content_type='text/x-rst',
version='3.1.0b3.dev0',
long_description='%s\n%s' % (
read('README.rst'),
read('CHANGES.md')
),
keywords="plone cms castle",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Framework :: Plone :: 5.0",
"Framework :: Plone",
"Framework :: Plone :: 5.1",
"Framework :: CastleCMS",
"Framework :: CastleCMS :: Theme"
],
author='Wildcard Corp',
author_email='[email protected]',
url='https://github.com/castlecms/castle.cms',
license='GPL2',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['castle'],
install_requires=[
# plone packages
'Products.CMFPlone>=5.0.10',
'mockup>=2.4.2.dev1',
'plone.app.upgrade>=2.0.17',
'plone.app.mosaic>=2.0.0.dev24',
'plone.app.blocks>=10.0.0',
'Products.PloneKeywordManager>=2.2.1',
'plone.schemaeditor>=2.0.18',
'plone.namedfile>=3.0.10',
'plone.folder>=1.0.12',
'AccessControl>=3.0.14',
'z3c.relationfield>=0.7.1.dev0',
'Products.ZCatalog>=3.0.3dev2',
'plone.app.standardtiles>=2.0.0.dev0',
'plone.stringinterp>=1.3.1',
'Products.CMFPlacefulWorkflow',
'plone.app.caching',
'plone.app.dexterity',
'plone.app.iterate',
'plone.api',
# castle
'castle.theme>=1.0.6',
# add-ons
'collective.documentviewer>=5.0.4',
'wildcard.hps>=1.4.0',
'collective.celery>=1.1.4',
# python
'boto3>=1.9.222',
'google-api-python-client >=1.4.2, <2',
'google-auth>=2.5.0',
'requests >=2.7.0, <3',
'requests_oauthlib >=0.5.0, <1',
'oauth2client >=1.5.1, <2',
'redis >=2.10.5, <3',
'setuptools',
'python-dateutil',
'pyopenssl',
'phonenumbers',
'html2text',
'pycountry',
'tendo',
'pylru',
'sqlalchemy',
# misc
'z3c.unconfigure',
'z3c.jbot',
],
extras_require={
'test': [
'plone.app.testing',
'responses',
'mock',
'argon2_cffi',
'plone.app.robotframework',
'moto',
],
'development': [
'zest.releaser',
'check-manifest',
],
'profile': [
'collective.profiler'
],
'forms': [
'collective.easyform [recaptcha]'
]
},
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
[celery_tasks]
castle = castle.cms.tasks
[console_scripts]
clean-plone-users = castle.cms.cron:clean_users
social-counts = castle.cms.cron:social_counts
archive-content = castle.cms.cron:archive_content
content-popularity = castle.cms.cron:ga_popularity
empty-trash = castle.cms.cron:empty_trash
twitter-monitor = castle.cms.cron:twitter_monitor
send-forced-publish-alert = castle.cms.cron:forced_publish_alert
castle-crawler = castle.cms.cron:crawler
backend-url-check = castle.cms.cron:backend_url_check
clean-drafts = castle.cms.cron:clean_drafts
upgrade-sites = castle.cms.cron:upgrade_sites
link-report = castle.cms.cron:link_report
report-users = castle.cms._scripts.report_users:setup_and_run
auto-publish-retract = castle.cms.cron:auto_publish_retract
""",
include_package_data=True,
zip_safe=False,
)