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

5
version = '0.68.2-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 30
        'PyXML', # for full blown python interpreter
        'lxml', # for full blown python interpreter
31 32
        'netaddr', # to manipulate on IP addresses
        'setuptools', # namespaces
33
        'inotifyx', # to watch filesystem changes (used in lockfile)
34
        'slapos.core', # uses internally
Łukasz Nowak's avatar
Łukasz Nowak committed
35
#        'slapos.toolbox', # needed for libcloud, cloudmgr, disabled for now
36 37 38
        'xml_marshaller', # need to communication with slapgrid
        'zc.buildout', # plays with buildout
        'zc.recipe.egg', # for scripts generation
39
        'pytz', # for timezone database
40 41
        ],
      zip_safe=True,
42 43
      entry_points={
        'zc.buildout': [
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
44
          'addresiliency = slapos.recipe.addresiliency:Recipe',
45
          'agent = slapos.recipe.agent:Recipe',
46
          'apache.frontend = slapos.recipe.apache_frontend:Recipe',
Antoine Catton's avatar
Antoine Catton committed
47
          'apachephp = slapos.recipe.apachephp:Recipe',
Antoine Catton's avatar
Antoine Catton committed
48
          'apacheproxy = slapos.recipe.apacheproxy:Recipe',
49
          'apache.zope.backend = slapos.recipe.apache_zope_backend:Recipe',
50
	        'boinc = slapos.recipe.boinc:Recipe',
51 52
          'boinc.app = slapos.recipe.boinc:App',
          'boinc.client = slapos.recipe.boinc:Client',
53
          'certificate_authority.request = slapos.recipe.certificate_authority:Request',
54
          'certificate_authority = slapos.recipe.certificate_authority:Recipe',
55
          'check_port_listening = slapos.recipe.check_port_listening:Recipe',
56
          'check_url_available = slapos.recipe.check_url_available:Recipe',
57
          'check_page_content = slapos.recipe.check_page_content:Recipe',
58
          'cloud9 = slapos.recipe.cloud9:Recipe',
59
          'cloudooo.test = slapos.recipe.erp5_test:CloudoooRecipe',
60
	        'condor = slapos.recipe.condor:Recipe',
61
          'cron.d = slapos.recipe.dcron:Part',
62
          'cron = slapos.recipe.dcron:Recipe',
63
          'davstorage = slapos.recipe.davstorage:Recipe',
64
          'downloader = slapos.recipe.downloader:Recipe',
65
          'dropbear.add_authorized_key = slapos.recipe.dropbear:AddAuthorizedKey',
66
          'dropbear.client = slapos.recipe.dropbear:Client',
67
          'dropbear = slapos.recipe.dropbear:Recipe',
68
          'dumpmdb = slapos.recipe.dumpmdb:Recipe',
69
          'duplicity = slapos.recipe.duplicity:Recipe',
70
          'egg_test = slapos.recipe.erp5_test:EggTestRecipe',
Antoine Catton's avatar
Antoine Catton committed
71
          'equeue = slapos.recipe.equeue:Recipe',
72 73 74
          'erp5.bootstrap = slapos.recipe.erp5_bootstrap:Recipe',
          'erp5.promise = slapos.recipe.erp5_promise:Recipe',
          'erp5scalabilitytestbed = slapos.recipe.erp5scalabilitytestbed:Recipe',
75
          'erp5testnode = slapos.recipe.erp5testnode:Recipe',
76 77 78 79
          'erp5.test = slapos.recipe.erp5_test:Recipe',
          'erp5.update = slapos.recipe.erp5_update:Recipe',
          'firefox = slapos.recipe.firefox:Recipe',
          'fontconfig = slapos.recipe.fontconfig:Recipe',
80
          'generate.mac = slapos.recipe.generatemac:Recipe',
81
          'generate.password = slapos.recipe.generatepassword:Recipe',
82
          'generic.cloudooo = slapos.recipe.generic_cloudooo:Recipe',
83 84 85 86 87 88
          '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',
89
          'gitinit = slapos.recipe.gitinit:Recipe',
90
          'haproxy = slapos.recipe.haproxy:Recipe',
91
          'helloworld = slapos.recipe.helloworld:Recipe',
92
          'importmdb = slapos.recipe.importmdb:Recipe',
93
          'java = slapos.recipe.java:Recipe',
94
          'kumofs = slapos.recipe.kumofs:Recipe',
95
          'kvm.frontend = slapos.recipe.kvm_frontend:Recipe',
96 97 98 99 100
          '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',
101
          'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
102
          'libcloud = slapos.recipe.libcloud:Recipe',
Antoine Catton's avatar
Antoine Catton committed
103
          'lockfile = slapos.recipe.lockfile:Recipe',
104 105
          'logrotate.d = slapos.recipe.logrotate:Part',
          'logrotate = slapos.recipe.logrotate:Recipe',
106
          'memcached = slapos.recipe.memcached:Recipe',
107
          'mkdirectory = slapos.recipe.mkdirectory:Recipe',
108 109 110
          'mydumper = slapos.recipe.mydumper:Recipe',
          'mysql = slapos.recipe.mysql:Recipe',
          'nbdserver = slapos.recipe.nbdserver:Recipe',
111
          'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
Antoine Catton's avatar
Antoine Catton committed
112 113
          'notifier.callback = slapos.recipe.notifier:Callback',
          'notifier.notify = slapos.recipe.notifier:Notify',
114
          'notifier = slapos.recipe.notifier:Recipe',
115
          'novnc = slapos.recipe.novnc:Recipe',
116
          'onetimeupload = slapos.recipe.onetimeupload:Recipe',
117
          'pbs = slapos.recipe.pbs:Recipe',
118
          'proactive = slapos.recipe.proactive:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
119
          'publish = slapos.recipe.publish:Recipe',
120
          'publishurl = slapos.recipe.publishurl:Recipe',
Antoine Catton's avatar
Antoine Catton committed
121
          'pwgen = slapos.recipe.pwgen:Recipe',
122
          'pwgen.stable = slapos.recipe.pwgen:StablePasswordGeneratorRecipe',
123
          'requestoptional = slapos.recipe.request:RequestOptional',
124
          'request = slapos.recipe.request:Recipe',
125
          'seleniumrunner = slapos.recipe.seleniumrunner:Recipe',
126
          'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
Antoine Catton's avatar
Antoine Catton committed
127
          'shellinabox = slapos.recipe.shellinabox:Recipe',
128 129
          'shell = slapos.recipe.shell:Recipe',
          'signalwrapper= slapos.recipe.signal_wrapper:Recipe',
130
          'simplelogger = slapos.recipe.simplelogger:Recipe',
131 132
          'siptester = slapos.recipe.siptester:SipTesterRecipe',
          'slapconfiguration = slapos.recipe.slapconfiguration:Recipe',
Antoine Catton's avatar
Antoine Catton committed
133
          'slapcontainer = slapos.recipe.container:Recipe',
134
          'slapmonitor = slapos.recipe.slapmonitor:Recipe',
135
          'slapreport = slapos.recipe.slapreport:Recipe',
136
          'slaprunner = slapos.recipe.slaprunner:Recipe',
137
          'slaprunner.test = slapos.recipe.slaprunner:Test',
138
          'softwaretype = slapos.recipe.softwaretype:Recipe',
Romain Courteaud's avatar
Romain Courteaud committed
139
          'sphinx= slapos.recipe.sphinx:Recipe',
140 141
          'sshkeys_authority.request = slapos.recipe.sshkeys_authority:Request',
          'sshkeys_authority = slapos.recipe.sshkeys_authority:Recipe',
142
          'stunnel = slapos.recipe.stunnel:Recipe',
143
          'symbolic.link = slapos.recipe.symbolic_link:Recipe',
144
          'testnode = slapos.recipe.testnode:Recipe',
145
          'tidstorage = slapos.recipe.tidstorage:Recipe',
146
          'urlparse = slapos.recipe._urlparse:Recipe',
147
          'uuid = slapos.recipe._uuid:Recipe',
148
          'vifib = slapos.recipe.vifib:Recipe',
Antoine Catton's avatar
Antoine Catton committed
149
          'waitfor = slapos.recipe.waitfor:Recipe',
150
          'webchecker = slapos.recipe.web_checker:Recipe',
Antoine Catton's avatar
Antoine Catton committed
151
          'wrapper = slapos.recipe.wrapper:Recipe',
Romain Courteaud's avatar
Romain Courteaud committed
152
          'xvfb = slapos.recipe.xvfb:Recipe',
153
          'xwiki = slapos.recipe.xwiki:Recipe',
154
          'zabbixagent = slapos.recipe.zabbixagent:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
155
          'zeo = slapos.recipe.zeo:Recipe',
156 157 158 159 160
        ],
        'slapos.recipe.nosqltestbed.plugin': [
          'kumo = slapos.recipe.nosqltestbed.kumo:KumoTestBed',
        ],
      },
161
    )
162