setup.py 8.1 KB
Newer Older
1
from setuptools import setup, find_packages
2 3
import glob
import os
4

5
version = '0.70.1-dev'
6
name = 'slapos.cookbook'
7
long_description = open("README.txt").read() + "\n" + \
8 9
    open("CHANGES.txt").read() + "\n"

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

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