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

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