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

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