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

5
version = '0.61-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 40
        ],
      zip_safe=True,
41 42
      entry_points={
        'zc.buildout': [
Yingjie Xu's avatar
Yingjie Xu committed
43
          'agent = slapos.recipe.agent:Recipe',
44
          'apache.frontend = slapos.recipe.apache_frontend:Recipe',
Antoine Catton's avatar
Antoine Catton committed
45
          'apachephp = slapos.recipe.apachephp:Recipe',
Antoine Catton's avatar
Antoine Catton committed
46
          'apacheproxy = slapos.recipe.apacheproxy:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
47
          'apache.zope.backend = slapos.recipe.apache_zope_backend:Recipe',
48 49
          'certificate_authority = slapos.recipe.certificate_authority:Recipe',
          'certificate_authority.request = slapos.recipe.certificate_authority:Request',
50
          'check_port_listening = slapos.recipe.check_port_listening:Recipe',
51
          'check_url_available = slapos.recipe.check_url_available:Recipe',
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
52
          'cloud9 = slapos.recipe.cloud9:Recipe',
53 54
          'cron = slapos.recipe.dcron:Recipe',
          'cron.d = slapos.recipe.dcron:Part',
55
          'davstorage = slapos.recipe.davstorage:Recipe',
Antoine Catton's avatar
Antoine Catton committed
56 57
          'dropbear = slapos.recipe.dropbear:Recipe',
          'dropbear.add_authorized_key = slapos.recipe.dropbear:AddAuthorizedKey',
Antoine Catton's avatar
Antoine Catton committed
58
          'dropbear.client = slapos.recipe.dropbear:Client',
59
          'duplicity = slapos.recipe.duplicity:Recipe',
60
          'erp5scalabilitytestbed = slapos.recipe.erp5scalabilitytestbed:Recipe',
Antoine Catton's avatar
Antoine Catton committed
61
          'equeue = slapos.recipe.equeue:Recipe',
62
          'erp5testnode = slapos.recipe.erp5testnode:Recipe',
63
          'generate.mac = slapos.recipe.generatemac:Recipe',
64
          'generate.password = slapos.recipe.generatepassword:Recipe',
65
          'nbdserver = slapos.recipe.nbdserver:Recipe',
66
          'onetimeupload = slapos.recipe.onetimeupload:Recipe',
67
          'helloworld = slapos.recipe.helloworld:Recipe',
68
          'generic.cloudooo = slapos.recipe.generic_cloudooo:Recipe',
69
          'cloudooo.test = slapos.recipe.cloudooo_test:Recipe',
Romain Courteaud's avatar
Romain Courteaud committed
70
          'firefox = slapos.recipe.firefox:Recipe',
71
          'fontconfig = slapos.recipe.fontconfig:Recipe',
72
          'java = slapos.recipe.java:Recipe',
73
          'kumofs = slapos.recipe.kumofs:Recipe',
74
          'kvm = slapos.recipe.kvm:Recipe',
75
          'kvm.frontend = slapos.recipe.kvm_frontend:Recipe',
76
          'generic.kumofs = slapos.recipe.generic_kumofs:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
77
          'haproxy = slapos.recipe.haproxy:Recipe',
78
          'libcloud = slapos.recipe.libcloud:Recipe',
79
          'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
Antoine Catton's avatar
Antoine Catton committed
80
          'lockfile = slapos.recipe.lockfile:Recipe',
81
          'memcached = slapos.recipe.memcached:Recipe',
82
          'generic.memcached = slapos.recipe.generic_memcached:Recipe',
83
          'mysql = slapos.recipe.mysql:Recipe',
84
          'mydumper = slapos.recipe.mydumper:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
85
          'generic.mysql = slapos.recipe.generic_mysql:Recipe',
86
          'mkdirectory = slapos.recipe.mkdirectory:Recipe',
87
          'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
Antoine Catton's avatar
Antoine Catton committed
88 89 90
          'notifier = slapos.recipe.notifier:Recipe',
          'notifier.callback = slapos.recipe.notifier:Callback',
          'notifier.notify = slapos.recipe.notifier:Notify',
91
          'novnc = slapos.recipe.novnc:Recipe',
92 93 94 95
          'lamp = slapos.recipe.lamp:Request',
          'lamp.request = slapos.recipe.lamp:Request',
          'lamp.static = slapos.recipe.lamp:Static',
          'lamp.simple = slapos.recipe.lamp:Simple',
96 97
          'logrotate = slapos.recipe.logrotate:Recipe',
          'logrotate.d = slapos.recipe.logrotate:Part',
98
          'pbs = slapos.recipe.pbs:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
99
          'publish = slapos.recipe.publish:Recipe',
100
          'publishurl = slapos.recipe.publishurl:Recipe',
Antoine Catton's avatar
Antoine Catton committed
101
          'pwgen = slapos.recipe.pwgen:Recipe',
102
          'pwgen.stable = slapos.recipe.pwgen:StablePasswordGeneratorRecipe',
103
          'proactive = slapos.recipe.proactive:Recipe',
104
          'request = slapos.recipe.request:Recipe',
105
          'requestoptional = slapos.recipe.requestoptional:Recipe',
106
          'seleniumrunner = slapos.recipe.seleniumrunner:Recipe',
107
          'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
Antoine Catton's avatar
Antoine Catton committed
108
          'shell = slapos.recipe.shell:Recipe',
Antoine Catton's avatar
Antoine Catton committed
109
          'shellinabox = slapos.recipe.shellinabox:Recipe',
110
          'slapconfiguration = slapos.recipe.slapconfiguration:Recipe',
111
          'symbolic.link = slapos.recipe.symbolic_link:Recipe',
112
          'softwaretype = slapos.recipe.softwaretype:Recipe',
113
          'siptester = slapos.recipe.siptester:SipTesterRecipe',
114
          'simplelogger = slapos.recipe.simplelogger:Recipe',
115
          'slaprunner = slapos.recipe.slaprunner:Recipe',
116
          'slapmonitor = slapos.recipe.slapmonitor:Recipe',
117
          'slapreport = slapos.recipe.slapreport:Recipe',
118 119
          'sshkeys_authority = slapos.recipe.sshkeys_authority:Recipe',
          'sshkeys_authority.request = slapos.recipe.sshkeys_authority:Request',
Romain Courteaud's avatar
Romain Courteaud committed
120
          'sphinx= slapos.recipe.sphinx:Recipe',
121
          'stunnel = slapos.recipe.stunnel:Recipe',
122
          'testnode = slapos.recipe.testnode:Recipe',
123
          'urlparse = slapos.recipe._urlparse:Recipe',
124
          'vifib = slapos.recipe.vifib:Recipe',
Antoine Catton's avatar
Antoine Catton committed
125
          'waitfor = slapos.recipe.waitfor:Recipe',
Romain Courteaud's avatar
Romain Courteaud committed
126
          'xvfb = slapos.recipe.xvfb:Recipe',
127
          'xwiki = slapos.recipe.xwiki:Recipe',
128
          'zabbixagent = slapos.recipe.zabbixagent:Recipe',
129
          'generic.zope = slapos.recipe.generic_zope:Recipe',
130
          'generic.zope.zeo.client = slapos.recipe.generic_zope_zeo_client:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
131
          'zeo = slapos.recipe.zeo:Recipe',
132
          'tidstorage = slapos.recipe.tidstorage:Recipe',
133
          'erp5.bootstrap = slapos.recipe.erp5_bootstrap:Recipe',
134
          'erp5.promise = slapos.recipe.erp5_promise:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
135
          'erp5.update = slapos.recipe.erp5_update:Recipe',
136
          'erp5.test = slapos.recipe.erp5_test:Recipe',
Tatuya Kamada's avatar
Tatuya Kamada committed
137
          'generic.varnish = slapos.recipe.generic_varnish:Recipe',
Tatuya Kamada's avatar
Tatuya Kamada committed
138
          'webchecker = slapos.recipe.web_checker:Recipe',
139
          'signalwrapper= slapos.recipe.signal_wrapper:Recipe',
140 141 142 143 144
        ],
        'slapos.recipe.nosqltestbed.plugin': [
          'kumo = slapos.recipe.nosqltestbed.kumo:KumoTestBed',
        ],
      },
145
    )