Merge remote-tracking branch 'slapos/lapp'
[slapos.git] / setup.py
1 from setuptools import setup, find_packages
2 import glob
3 import os
4
5 version = '0.68.2-dev'
6 name = 'slapos.cookbook'
7 long_description = open("README.txt").read() + "\n" + \
8 open("CHANGES.txt").read() + "\n"
9
10 for f in sorted(glob.glob(os.path.join('slapos', 'recipe', 'README.*.txt'))):
11 long_description += '\n' + open(f).read() + '\n'
12
13 # extras_requires are not used because of
14 # https://bugs.launchpad.net/zc.buildout/+bug/85604
15 setup(name=name,
16 version=version,
17 description="SlapOS recipes.",
18 long_description=long_description,
19 classifiers=[
20 "Framework :: Buildout :: Recipe",
21 "Programming Language :: Python",
22 ],
23 keywords='slapos recipe',
24 license='GPLv3',
25 namespace_packages=['slapos', 'slapos.recipe'],
26 packages=find_packages(),
27 include_package_data=True,
28 install_requires=[
29 'PyXML', # for full blown python interpreter
30 'lxml', # for full blown python interpreter
31 'netaddr', # to manipulate on IP addresses
32 'setuptools', # namespaces
33 'inotifyx', # to watch filesystem changes (used in lockfile)
34 'slapos.core', # uses internally
35 # 'slapos.toolbox', # needed for libcloud, cloudmgr, disabled for now
36 'xml_marshaller', # need to communication with slapgrid
37 'zc.buildout', # plays with buildout
38 'zc.recipe.egg', # for scripts generation
39 'pytz', # for timezone database
40 ],
41 zip_safe=True,
42 entry_points={
43 'zc.buildout': [
44 'addresiliency = slapos.recipe.addresiliency:Recipe',
45 'agent = slapos.recipe.agent:Recipe',
46 'apache.frontend = slapos.recipe.apache_frontend:Recipe',
47 'apacheperl = slapos.recipe.apacheperl:Recipe',
48 'apachephp = slapos.recipe.apachephp:Recipe',
49 'apacheproxy = slapos.recipe.apacheproxy:Recipe',
50 'apache.zope.backend = slapos.recipe.apache_zope_backend:Recipe',
51 'certificate_authority.request = slapos.recipe.certificate_authority:Request',
52 'certificate_authority = slapos.recipe.certificate_authority:Recipe',
53 'check_port_listening = slapos.recipe.check_port_listening:Recipe',
54 'check_url_available = slapos.recipe.check_url_available:Recipe',
55 'check_page_content = slapos.recipe.check_page_content:Recipe',
56 'cloud9 = slapos.recipe.cloud9:Recipe',
57 'cloudooo.test = slapos.recipe.erp5_test:CloudoooRecipe',
58 'cron.d = slapos.recipe.dcron:Part',
59 'cron = slapos.recipe.dcron:Recipe',
60 'davstorage = slapos.recipe.davstorage:Recipe',
61 'downloader = slapos.recipe.downloader:Recipe',
62 'dropbear.add_authorized_key = slapos.recipe.dropbear:AddAuthorizedKey',
63 'dropbear.client = slapos.recipe.dropbear:Client',
64 'dropbear = slapos.recipe.dropbear:Recipe',
65 'dumpmdb = slapos.recipe.dumpmdb:Recipe',
66 'duplicity = slapos.recipe.duplicity:Recipe',
67 'egg_test = slapos.recipe.erp5_test:EggTestRecipe',
68 'equeue = slapos.recipe.equeue:Recipe',
69 'erp5.bootstrap = slapos.recipe.erp5_bootstrap:Recipe',
70 'erp5.promise = slapos.recipe.erp5_promise:Recipe',
71 'erp5scalabilitytestbed = slapos.recipe.erp5scalabilitytestbed:Recipe',
72 'erp5testnode = slapos.recipe.erp5testnode:Recipe',
73 'erp5.test = slapos.recipe.erp5_test:Recipe',
74 'erp5.update = slapos.recipe.erp5_update:Recipe',
75 'firefox = slapos.recipe.firefox:Recipe',
76 'fontconfig = slapos.recipe.fontconfig:Recipe',
77 'generate.mac = slapos.recipe.generatemac:Recipe',
78 'generate.password = slapos.recipe.generatepassword:Recipe',
79 'generic.cloudooo = slapos.recipe.generic_cloudooo:Recipe',
80 'generic.kumofs = slapos.recipe.generic_kumofs:Recipe',
81 'generic.memcached = slapos.recipe.generic_memcached:Recipe',
82 'generic.mysql = slapos.recipe.generic_mysql:Recipe',
83 'generic.varnish = slapos.recipe.generic_varnish:Recipe',
84 'generic.zope = slapos.recipe.generic_zope:Recipe',
85 'generic.zope.zeo.client = slapos.recipe.generic_zope_zeo_client:Recipe',
86 'gitinit = slapos.recipe.gitinit:Recipe',
87 'haproxy = slapos.recipe.haproxy:Recipe',
88 'helloworld = slapos.recipe.helloworld:Recipe',
89 'importmdb = slapos.recipe.importmdb:Recipe',
90 'java = slapos.recipe.java:Recipe',
91 'kumofs = slapos.recipe.kumofs:Recipe',
92 'kvm.frontend = slapos.recipe.kvm_frontend:Recipe',
93 'kvm = slapos.recipe.kvm:Recipe',
94 'lamp.request = slapos.recipe.lamp:Request',
95 'lamp.simple = slapos.recipe.lamp:Simple',
96 'lamp = slapos.recipe.lamp:Request',
97 'lamp.static = slapos.recipe.lamp:Static',
98 'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
99 'libcloud = slapos.recipe.libcloud:Recipe',
100 'lockfile = slapos.recipe.lockfile:Recipe',
101 'logrotate.d = slapos.recipe.logrotate:Part',
102 'logrotate = slapos.recipe.logrotate:Recipe',
103 'memcached = slapos.recipe.memcached:Recipe',
104 'mkdirectory = slapos.recipe.mkdirectory:Recipe',
105 'mydumper = slapos.recipe.mydumper:Recipe',
106 'mysql = slapos.recipe.mysql:Recipe',
107 'nbdserver = slapos.recipe.nbdserver:Recipe',
108 'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
109 'notifier.callback = slapos.recipe.notifier:Callback',
110 'notifier.notify = slapos.recipe.notifier:Notify',
111 'notifier = slapos.recipe.notifier:Recipe',
112 'novnc = slapos.recipe.novnc:Recipe',
113 'onetimeupload = slapos.recipe.onetimeupload:Recipe',
114 'pbs = slapos.recipe.pbs:Recipe',
115 'postgres = slapos.recipe.postgres:Recipe',
116 'maarch.configuration = slapos.recipe.maarch.configuration:Recipe',
117 'proactive = slapos.recipe.proactive:Recipe',
118 'publish = slapos.recipe.publish:Recipe',
119 'publishurl = slapos.recipe.publishurl:Recipe',
120 'pwgen = slapos.recipe.pwgen:Recipe',
121 'pwgen.stable = slapos.recipe.pwgen:StablePasswordGeneratorRecipe',
122 'requestoptional = slapos.recipe.request:RequestOptional',
123 'request = slapos.recipe.request:Recipe',
124 'seleniumrunner = slapos.recipe.seleniumrunner:Recipe',
125 'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
126 'shellinabox = slapos.recipe.shellinabox:Recipe',
127 'shell = slapos.recipe.shell:Recipe',
128 'signalwrapper= slapos.recipe.signal_wrapper:Recipe',
129 'simplelogger = slapos.recipe.simplelogger:Recipe',
130 'siptester = slapos.recipe.siptester:SipTesterRecipe',
131 'slapconfiguration = slapos.recipe.slapconfiguration:Recipe',
132 'slapcontainer = slapos.recipe.container:Recipe',
133 'slapmonitor = slapos.recipe.slapmonitor:Recipe',
134 'slapreport = slapos.recipe.slapreport:Recipe',
135 'slaprunner = slapos.recipe.slaprunner:Recipe',
136 'slaprunner.test = slapos.recipe.slaprunner:Test',
137 'softwaretype = slapos.recipe.softwaretype:Recipe',
138 'sphinx= slapos.recipe.sphinx:Recipe',
139 'sshkeys_authority.request = slapos.recipe.sshkeys_authority:Request',
140 'sshkeys_authority = slapos.recipe.sshkeys_authority:Recipe',
141 'stunnel = slapos.recipe.stunnel:Recipe',
142 'symbolic.link = slapos.recipe.symbolic_link:Recipe',
143 'testnode = slapos.recipe.testnode:Recipe',
144 'tidstorage = slapos.recipe.tidstorage:Recipe',
145 'urlparse = slapos.recipe._urlparse:Recipe',
146 'uuid = slapos.recipe._uuid:Recipe',
147 'vifib = slapos.recipe.vifib:Recipe',
148 'waitfor = slapos.recipe.waitfor:Recipe',
149 'webchecker = slapos.recipe.web_checker:Recipe',
150 'wrapper = slapos.recipe.wrapper:Recipe',
151 'xvfb = slapos.recipe.xvfb:Recipe',
152 'xwiki = slapos.recipe.xwiki:Recipe',
153 'zabbixagent = slapos.recipe.zabbixagent:Recipe',
154 'zeo = slapos.recipe.zeo:Recipe',
155 ],
156 'slapos.recipe.nosqltestbed.plugin': [
157 'kumo = slapos.recipe.nosqltestbed.kumo:KumoTestBed',
158 ],
159 },
160 )