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

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