fixup! version up : LibreOffice 5.0.0.5.
[slapos.git] / setup.py
1 ##############################################################################
2 #
3 # Copyright (c) 2010-2013 Vifib SARL and Contributors. All Rights Reserved.
4 #
5 # WARNING: This program as such is intended to be used by professional
6 # programmers who take the whole responsibility of assessing all potential
7 # consequences resulting from its eventual inadequacies and bugs
8 # End users who are looking for a ready-to-use solution with commercial
9 # guarantees and support are strongly adviced to contract a Free Software
10 # Service Company
11 #
12 # This program is Free Software; you can redistribute it and/or
13 # modify it under the terms of the GNU General Public License
14 # as published by the Free Software Foundation; either version 3
15 # of the License, or (at your option) any later version.
16 #
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
21 #
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #
26 ##############################################################################
27 from setuptools import setup, find_packages
28 import glob
29 import os
30
31 version = '1.0.9.dev0'
32 name = 'slapos.cookbook'
33 long_description = open("README.txt").read() + "\n" + \
34 open("CHANGES.txt").read() + "\n"
35
36 for f in sorted(glob.glob(os.path.join('slapos', 'recipe', 'README.*.txt'))):
37 long_description += '\n' + open(f).read() + '\n'
38
39 # extras_requires are not used because of
40 # https://bugs.launchpad.net/zc.buildout/+bug/85604
41 setup(name=name,
42 version=version,
43 description="SlapOS recipes.",
44 long_description=long_description,
45 classifiers=[
46 "Framework :: Buildout :: Recipe",
47 "Programming Language :: Python",
48 ],
49 keywords='slapos recipe',
50 license='GPLv3',
51 namespace_packages=['slapos', 'slapos.recipe'],
52 packages=find_packages(),
53 include_package_data=True,
54 install_requires=[
55 'jsonschema',
56 'hexagonit.recipe.download',
57 'lxml', # for full blown python interpreter
58 'netaddr', # to manipulate on IP addresses
59 'setuptools', # namespaces
60 'inotifyx', # to watch filesystem changes (used in lockfile)
61 'lock_file', #another lockfile implementation for multiprocess
62 'slapos.core', # uses internally
63 # 'slapos.toolbox', # needed for libcloud, cloudmgr, disabled for now
64 'xml_marshaller', # need to communication with slapgrid
65 'zc.buildout', # plays with buildout
66 'zc.recipe.egg', # for scripts generation
67 'pytz', # for timezone database
68 ],
69 zip_safe=True,
70 entry_points={
71 'zc.buildout': [
72 'addresiliency = slapos.recipe.addresiliency:Recipe',
73 'accords = slapos.recipe.accords:Recipe',
74 'agent = slapos.recipe.agent:Recipe',
75 'apache.zope.backend = slapos.recipe.apache_zope_backend:Recipe',
76 'apacheperl = slapos.recipe.apacheperl:Recipe',
77 'apachephp = slapos.recipe.apachephp:Recipe',
78 'apachephpconfigure = slapos.recipe.apachephpconfigure:Recipe',
79 'apacheproxy = slapos.recipe.apacheproxy:Recipe',
80 'boinc = slapos.recipe.boinc:Recipe',
81 'boinc.app = slapos.recipe.boinc:App',
82 'boinc.client = slapos.recipe.boinc:Client',
83 'bonjourgrid = slapos.recipe.bonjourgrid:Recipe',
84 'bonjourgrid.client = slapos.recipe.bonjourgrid:Client',
85 'certificate_authority = slapos.recipe.certificate_authority:Recipe',
86 'certificate_authority.request = slapos.recipe.certificate_authority:Request',
87 'check_page_content = slapos.recipe.check_page_content:Recipe',
88 'check_port_listening = slapos.recipe.check_port_listening:Recipe',
89 'check_url_available = slapos.recipe.check_url_available:Recipe',
90 'check_parameter = slapos.recipe.check_parameter:Recipe',
91 'cloud9 = slapos.recipe.cloud9:Recipe',
92 'cloudooo.test = slapos.recipe.erp5_test:CloudoooRecipe',
93 'condor = slapos.recipe.condor:Recipe',
94 'condor.submit = slapos.recipe.condor:AppSubmit',
95 'configurationfile = slapos.recipe.configurationfile:Recipe',
96 'copyfilelist = slapos.recipe.copyfilelist:Recipe',
97 'cron = slapos.recipe.dcron:Recipe',
98 'cron.d = slapos.recipe.dcron:Part',
99 'davstorage = slapos.recipe.davstorage:Recipe',
100 'downloader = slapos.recipe.downloader:Recipe',
101 'dropbear = slapos.recipe.dropbear:Recipe',
102 'dropbear.add_authorized_key = slapos.recipe.dropbear:AddAuthorizedKey',
103 'dropbear.client = slapos.recipe.dropbear:Client',
104 'dumpmdb = slapos.recipe.dumpmdb:Recipe',
105 'duplicity = slapos.recipe.duplicity:Recipe',
106 'egg_test = slapos.recipe.erp5_test:EggTestRecipe',
107 'equeue = slapos.recipe.equeue:Recipe',
108 'erp5.bootstrap = slapos.recipe.erp5_bootstrap:Recipe',
109 'erp5.promise = slapos.recipe.erp5_promise:Recipe',
110 'erp5.test = slapos.recipe.erp5_test:Recipe',
111 'erp5.update = slapos.recipe.erp5_update:Recipe',
112 'erp5scalabilitytestbed = slapos.recipe.erp5scalabilitytestbed:Recipe',
113 'erp5testnode = slapos.recipe.erp5testnode:Recipe',
114 'firefox = slapos.recipe.firefox:Recipe',
115 'fontconfig = slapos.recipe.fontconfig:Recipe',
116 'generate.mac = slapos.recipe.generatemac:Recipe',
117 'generate.password = slapos.recipe.generatepassword:Recipe',
118 'generic.cloudooo = slapos.recipe.generic_cloudooo:Recipe',
119 'generic.kumofs = slapos.recipe.generic_kumofs:Recipe',
120 'generic.memcached = slapos.recipe.generic_memcached:Recipe',
121 'generic.mysql = slapos.recipe.generic_mysql:Recipe',
122 'generic.mysql.wrap_update_mysql = slapos.recipe.generic_mysql:WrapUpdateMySQL',
123 'generic.mysql.wrap_mysqld = slapos.recipe.generic_mysql:WrapMySQLd',
124 'generic.varnish = slapos.recipe.generic_varnish:Recipe',
125 'generic.zope = slapos.recipe.generic_zope:Recipe',
126 'generic.zope.zeo.client = slapos.recipe.generic_zope_zeo_client:Recipe',
127 'gitinit = slapos.recipe.gitinit:Recipe',
128 'haproxy = slapos.recipe.haproxy:Recipe',
129 'helloworld = slapos.recipe.helloworld:Recipe',
130 'importmdb = slapos.recipe.importmdb:Recipe',
131 'ipv4toipv6 = slapos.recipe.6tunnel:FourToSix',
132 'ipv6toipv4 = slapos.recipe.6tunnel:SixToFour',
133 'java = slapos.recipe.java:Recipe',
134 'jsondump = slapos.recipe.jsondump:Recipe',
135 'kumofs = slapos.recipe.kumofs:Recipe',
136 'kvm = slapos.recipe.kvm:Recipe',
137 'kvm.frontend = slapos.recipe.kvm_frontend:Recipe',
138 'lamp = slapos.recipe.lamp:Request',
139 'lamp.generic = slapos.recipe.lampgeneric:Recipe',
140 'lamp.request = slapos.recipe.lamp:Request',
141 'lamp.simple = slapos.recipe.lamp:Simple',
142 'lamp.static = slapos.recipe.lamp:Static',
143 'libcloud = slapos.recipe.libcloud:Recipe',
144 'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
145 'lockfile = slapos.recipe.lockfile:Recipe',
146 'logrotate = slapos.recipe.logrotate:Recipe',
147 'logrotate.d = slapos.recipe.logrotate:Part',
148 'memcached = slapos.recipe.memcached:Recipe',
149 'mkdirectory = slapos.recipe.mkdirectory:Recipe',
150 'mioga.instantiate = slapos.recipe.mioga.instantiate:Recipe',
151 'mydumper = slapos.recipe.mydumper:Recipe',
152 'mysql = slapos.recipe.mysql:Recipe',
153 'nbdserver = slapos.recipe.nbdserver:Recipe',
154 'neoppod.admin = slapos.recipe.neoppod:Admin',
155 'neoppod.master = slapos.recipe.neoppod:Master',
156 'neoppod.storage = slapos.recipe.neoppod:Storage',
157 'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
158 'notifier = slapos.recipe.notifier:Recipe',
159 'notifier.callback = slapos.recipe.notifier:Callback',
160 'notifier.notify = slapos.recipe.notifier:Notify',
161 'novnc = slapos.recipe.novnc:Recipe',
162 'onetimeupload = slapos.recipe.onetimeupload:Recipe',
163 'pbs = slapos.recipe.pbs:Recipe',
164 'postgres = slapos.recipe.postgres:Recipe',
165 'postgres.export = slapos.recipe.postgres.backup:ExportRecipe',
166 'postgres.import = slapos.recipe.postgres.backup:ImportRecipe',
167 'proactive = slapos.recipe.proactive:Recipe',
168 'publish = slapos.recipe.publish:Recipe',
169 'publish.serialised = slapos.recipe.publish:Serialised',
170 'publish-early = slapos.recipe.publish_early:Recipe',
171 'publishsection = slapos.recipe.publish:PublishSection',
172 'publishurl = slapos.recipe.publishurl:Recipe',
173 'readline = slapos.recipe.readline:Recipe',
174 'redis.server = slapos.recipe.redis:Recipe',
175 'request = slapos.recipe.request:Recipe',
176 'request.serialised = slapos.recipe.request:Serialised',
177 'request.edge = slapos.recipe.request:RequestEdge',
178 'requestoptional = slapos.recipe.request:RequestOptional',
179 're6stnet.registry = slapos.recipe.re6stnet:Recipe',
180 'reverseproxy.nginx = slapos.recipe.reverse_proxy_nginx:Recipe',
181 'seleniumrunner = slapos.recipe.seleniumrunner:Recipe',
182 'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
183 'shell = slapos.recipe.shell:Recipe',
184 'shellinabox = slapos.recipe.shellinabox:Recipe',
185 'signalwrapper= slapos.recipe.signal_wrapper:Recipe',
186 'simplelogger = slapos.recipe.simplelogger:Recipe',
187 'simplehttpserver = slapos.recipe.simplehttpserver:Recipe',
188 'siptester = slapos.recipe.siptester:SipTesterRecipe',
189 'slapconfiguration = slapos.recipe.slapconfiguration:Recipe',
190 'slapconfiguration.serialised = slapos.recipe.slapconfiguration:Serialised',
191 'slapconfiguration.jsondump = slapos.recipe.slapconfiguration:JsonDump',
192 'slapcontainer = slapos.recipe.container:Recipe',
193 'slapmonitor = slapos.recipe.slapmonitor:MonitorRecipe',
194 'slapmonitor-xml = slapos.recipe.slapmonitor:MonitorXMLRecipe',
195 'slapreport = slapos.recipe.slapreport:Recipe',
196 'softwaretype = slapos.recipe.softwaretype:Recipe', # BBB
197 'sphinx= slapos.recipe.sphinx:Recipe',
198 'squid = slapos.recipe.squid:Recipe',
199 'sshkeys_authority = slapos.recipe.sshkeys_authority:Recipe',
200 'sshkeys_authority.request = slapos.recipe.sshkeys_authority:Request',
201 'stunnel = slapos.recipe.stunnel:Recipe',
202 'switch-softwaretype = slapos.recipe.switch_softwaretype:Recipe',
203 'symbolic.link = slapos.recipe.symbolic_link:Recipe',
204 'tidstorage = slapos.recipe.tidstorage:Recipe',
205 'trac = slapos.recipe.trac:Recipe',
206 'urlparse = slapos.recipe._urlparse:Recipe',
207 'uuid = slapos.recipe._uuid:Recipe',
208 'userinfo = slapos.recipe.userinfo:Recipe',
209 'vifib = slapos.recipe.vifib:Recipe',
210 'waitfor = slapos.recipe.waitfor:Recipe',
211 'webchecker = slapos.recipe.web_checker:Recipe',
212 'wrapper = slapos.recipe.wrapper:Recipe',
213 'xvfb = slapos.recipe.xvfb:Recipe',
214 'xwiki = slapos.recipe.xwiki:Recipe',
215 'zabbixagent = slapos.recipe.zabbixagent:Recipe',
216 'zimbra.kvm = slapos.recipe.zimbra_kvm:Recipe',
217 'zeo = slapos.recipe.zeo:Recipe',
218 'zero-knowledge.read = slapos.recipe.zero_knowledge:ReadRecipe',
219 'zero-knowledge.write = slapos.recipe.zero_knowledge:WriteRecipe'
220 ],
221 'slapos.recipe.nosqltestbed.plugin': [
222 'kumo = slapos.recipe.nosqltestbed.kumo:KumoTestBed',
223 ],
224 },
225 test_suite='slapos.test',
226 tests_require=[ 'jsonschema' ],
227 )