setup.py 10.2 KB
Newer Older
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
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
##############################################################################
#
# Copyright (c) 2010-2013 Vifib SARL and Contributors. All Rights Reserved.
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
##############################################################################
27
from setuptools import setup, find_packages
28 29
import glob
import os
30

31
version = '0.74.0'
32
name = 'slapos.cookbook'
33
long_description = open("README.txt").read() + "\n" + \
34 35
    open("CHANGES.txt").read() + "\n"

36
for f in sorted(glob.glob(os.path.join('slapos', 'recipe', 'README.*.txt'))):
37
  long_description += '\n' + open(f).read() + '\n'
38

39 40
# extras_requires are not used because of
#   https://bugs.launchpad.net/zc.buildout/+bug/85604
41 42
setup(name=name,
      version=version,
43
      description="SlapOS recipes.",
44 45 46 47 48
      long_description=long_description,
      classifiers=[
          "Framework :: Buildout :: Recipe",
          "Programming Language :: Python",
        ],
Łukasz Nowak's avatar
Łukasz Nowak committed
49
      keywords='slapos recipe',
50 51 52 53 54
      license='GPLv3',
      namespace_packages=['slapos', 'slapos.recipe'],
      packages=find_packages(),
      include_package_data=True,
      install_requires=[
55
        'lxml', # for full blown python interpreter
56 57
        'netaddr', # to manipulate on IP addresses
        'setuptools', # namespaces
58
        'inotifyx', # to watch filesystem changes (used in lockfile)
59
        'slapos.core', # uses internally
Łukasz Nowak's avatar
Łukasz Nowak committed
60
#        'slapos.toolbox', # needed for libcloud, cloudmgr, disabled for now
61 62 63
        'xml_marshaller', # need to communication with slapgrid
        'zc.buildout', # plays with buildout
        'zc.recipe.egg', # for scripts generation
64
        'pytz', # for timezone database
65 66
        ],
      zip_safe=True,
67 68
      entry_points={
        'zc.buildout': [
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
69
          'addresiliency = slapos.recipe.addresiliency:Recipe',
Yingjie Xu's avatar
Yingjie Xu committed
70
          'agent = slapos.recipe.agent:Recipe',
71
          'apache.frontend = slapos.recipe.apache_frontend:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
72
          'apache.zope.backend = slapos.recipe.apache_zope_backend:Recipe',
73
          'apacheperl = slapos.recipe.apacheperl:Recipe', 
74 75
          'apachephp = slapos.recipe.apachephp:Recipe',
          'apacheproxy = slapos.recipe.apacheproxy:Recipe',
76
          'certificate_authority = slapos.recipe.certificate_authority:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
77 78
          'certificate_authority.request = slapos.recipe.certificate_authority:Request',
          'check_page_content = slapos.recipe.check_page_content:Recipe',
79
          'check_port_listening = slapos.recipe.check_port_listening:Recipe',
80
          'check_url_available = slapos.recipe.check_url_available:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
81
          'cloud9 = slapos.recipe.cloud9:Recipe',
82
          'cloudooo.test = slapos.recipe.erp5_test:CloudoooRecipe',
83
          'cron = slapos.recipe.dcron:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
84
          'cron.d = slapos.recipe.dcron:Part',
85
          'davstorage = slapos.recipe.davstorage:Recipe',
86
          'downloader = slapos.recipe.downloader:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
87
          'dropbear = slapos.recipe.dropbear:Recipe',
88 89
          'dropbear.add_authorized_key = slapos.recipe.dropbear:AddAuthorizedKey',
          'dropbear.client = slapos.recipe.dropbear:Client',
Antoine Catton's avatar
Antoine Catton committed
90
          'dumpmdb = slapos.recipe.dumpmdb:Recipe',
91
          'duplicity = slapos.recipe.duplicity:Recipe',
92
          'egg_test = slapos.recipe.erp5_test:EggTestRecipe',
93
          'equeue = slapos.recipe.equeue:Recipe',
94 95 96 97
          'erp5.bootstrap = slapos.recipe.erp5_bootstrap:Recipe',
          'erp5.promise = slapos.recipe.erp5_promise:Recipe',
          'erp5.test = slapos.recipe.erp5_test:Recipe',
          'erp5.update = slapos.recipe.erp5_update:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
98 99
          'erp5scalabilitytestbed = slapos.recipe.erp5scalabilitytestbed:Recipe',
          'erp5testnode = slapos.recipe.erp5testnode:Recipe',
100 101
          'firefox = slapos.recipe.firefox:Recipe',
          'fontconfig = slapos.recipe.fontconfig:Recipe',
102
          'generate.mac = slapos.recipe.generatemac:Recipe',
103
          'generate.password = slapos.recipe.generatepassword:Recipe',
104
          'generic.cloudooo = slapos.recipe.generic_cloudooo:Recipe',
105 106 107
          'generic.kumofs = slapos.recipe.generic_kumofs:Recipe',
          'generic.memcached = slapos.recipe.generic_memcached:Recipe',
          'generic.mysql = slapos.recipe.generic_mysql:Recipe',
108 109
          'generic.mysql.wrap_update_mysql = slapos.recipe.generic_mysql:WrapUpdateMySQL',
          'generic.mysql.wrap_mysqld = slapos.recipe.generic_mysql:WrapMySQLd',
110 111 112
          'generic.varnish = slapos.recipe.generic_varnish:Recipe',
          'generic.zope = slapos.recipe.generic_zope:Recipe',
          'generic.zope.zeo.client = slapos.recipe.generic_zope_zeo_client:Recipe',
113
          'gitinit = slapos.recipe.gitinit:Recipe',
114
          'haproxy = slapos.recipe.haproxy:Recipe',
115
          'helloworld = slapos.recipe.helloworld:Recipe',
116
          'importmdb = slapos.recipe.importmdb:Recipe',
117 118
          'ipv4toipv6 = slapos.recipe.6tunnel:FourToSix',
          'ipv6toipv4 = slapos.recipe.6tunnel:SixToFour',
119
          'java = slapos.recipe.java:Recipe',
120
          'kumofs = slapos.recipe.kumofs:Recipe',
121
          'kvm = slapos.recipe.kvm:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
122 123
          'kvm.frontend = slapos.recipe.kvm_frontend:Recipe',
          'lamp = slapos.recipe.lamp:Request',
124 125 126 127
          'lamp.request = slapos.recipe.lamp:Request',
          'lamp.simple = slapos.recipe.lamp:Simple',
          'lamp.static = slapos.recipe.lamp:Static',
          'libcloud = slapos.recipe.libcloud:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
128
          'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
129
          'lockfile = slapos.recipe.lockfile:Recipe',
130
          'logrotate = slapos.recipe.logrotate:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
131
          'logrotate.d = slapos.recipe.logrotate:Part',
132
          'memcached = slapos.recipe.memcached:Recipe',
133
          'mkdirectory = slapos.recipe.mkdirectory:Recipe',
134
          'mioga.instantiate = slapos.recipe.mioga.instantiate:Recipe',
135 136 137
          'mydumper = slapos.recipe.mydumper:Recipe',
          'mysql = slapos.recipe.mysql:Recipe',
          'nbdserver = slapos.recipe.nbdserver:Recipe',
Vincent Pelletier's avatar
Vincent Pelletier committed
138 139 140
          'neoppod.admin = slapos.recipe.neoppod:Admin',
          'neoppod.master = slapos.recipe.neoppod:Master',
          'neoppod.storage = slapos.recipe.neoppod:Storage',
141
          'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
142
          'notifier = slapos.recipe.notifier:Recipe',
143 144
          'notifier.callback = slapos.recipe.notifier:Callback',
          'notifier.notify = slapos.recipe.notifier:Notify',
145
          'novnc = slapos.recipe.novnc:Recipe',
146
          'onetimeupload = slapos.recipe.onetimeupload:Recipe',
147
          'pbs = slapos.recipe.pbs:Recipe',
148
          'postgres = slapos.recipe.postgres:Recipe',
149 150
          'postgres.export = slapos.recipe.postgres.backup:ExportRecipe',
          'postgres.import = slapos.recipe.postgres.backup:ImportRecipe',
151
          'proactive = slapos.recipe.proactive:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
152
          'publish = slapos.recipe.publish:Recipe',
153
          'publish.serialised = slapos.recipe.publish:Serialised',
154
          'publishurl = slapos.recipe.publishurl:Recipe',
155
          'pwgen = slapos.recipe.pwgen:Recipe',
156
          'pwgen.stable = slapos.recipe.pwgen:StablePasswordGeneratorRecipe',
157
          'request = slapos.recipe.request:Recipe',
158
          'request.serialised = slapos.recipe.request:Serialised',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
159
          'requestoptional = slapos.recipe.request:RequestOptional',
160
          'seleniumrunner = slapos.recipe.seleniumrunner:Recipe',
161
          'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
162
          'shell = slapos.recipe.shell:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
163
          'shellinabox = slapos.recipe.shellinabox:Recipe',
164
          'signalwrapper= slapos.recipe.signal_wrapper:Recipe',
165
          'simplelogger = slapos.recipe.simplelogger:Recipe',
166 167
          'siptester = slapos.recipe.siptester:SipTesterRecipe',
          'slapconfiguration = slapos.recipe.slapconfiguration:Recipe',
168
          'slapconfiguration.serialised = slapos.recipe.slapconfiguration:Serialised',
Antoine Catton's avatar
Antoine Catton committed
169
          'slapcontainer = slapos.recipe.container:Recipe',
Marco Mariani's avatar
Marco Mariani committed
170 171
          'slapmonitor = slapos.recipe.slapmonitor:MonitorRecipe',
          'slapmonitor-xml = slapos.recipe.slapmonitor:MonitorXMLRecipe',
172
          'slapreport = slapos.recipe.slapreport:Recipe',
173
          'slaprunner = slapos.recipe.slaprunner:Recipe',
174
          'slaprunner.test = slapos.recipe.slaprunner:Test',
175
          'softwaretype = slapos.recipe.softwaretype:Recipe',
Romain Courteaud's avatar
Romain Courteaud committed
176
          'sphinx= slapos.recipe.sphinx:Recipe',
177
          'sshkeys_authority = slapos.recipe.sshkeys_authority:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
178
          'sshkeys_authority.request = slapos.recipe.sshkeys_authority:Request',
179
          'stunnel = slapos.recipe.stunnel:Recipe',
180 181
          'symbolic.link = slapos.recipe.symbolic_link:Recipe',
          'tidstorage = slapos.recipe.tidstorage:Recipe',
182
          'urlparse = slapos.recipe._urlparse:Recipe',
Antoine Catton's avatar
Antoine Catton committed
183
          'uuid = slapos.recipe._uuid:Recipe',
184
          'vifib = slapos.recipe.vifib:Recipe',
185
          'waitfor = slapos.recipe.waitfor:Recipe',
186
          'webchecker = slapos.recipe.web_checker:Recipe',
Antoine Catton's avatar
Antoine Catton committed
187
          'wrapper = slapos.recipe.wrapper:Recipe',
Romain Courteaud's avatar
Romain Courteaud committed
188
          'xvfb = slapos.recipe.xvfb:Recipe',
189
          'xwiki = slapos.recipe.xwiki:Recipe',
190
          'zabbixagent = slapos.recipe.zabbixagent:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
191
          'zeo = slapos.recipe.zeo:Recipe',
192

193 194 195 196 197
        ],
        'slapos.recipe.nosqltestbed.plugin': [
          'kumo = slapos.recipe.nosqltestbed.kumo:KumoTestBed',
        ],
      },
198
    )