setup.py 4.8 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
        'slapos.core', # uses internally
Łukasz Nowak's avatar
Łukasz Nowak committed
34
#        'slapos.toolbox', # needed for libcloud, cloudmgr, disabled for now
35 36 37
        'xml_marshaller', # need to communication with slapgrid
        'zc.buildout', # plays with buildout
        'zc.recipe.egg', # for scripts generation
38 39
        ],
      zip_safe=True,
40 41
      entry_points={
        'zc.buildout': [
Łukasz Nowak's avatar
Łukasz Nowak committed
42
          'apache.zope.backend = slapos.recipe.apache_zope_backend:Recipe',
43 44 45 46
          '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',
47
          'davstorage = slapos.recipe.davstorage:Recipe',
48
          'duplicity = slapos.recipe.duplicity:Recipe',
49
          'erp5scalabilitytestbed = slapos.recipe.erp5scalabilitytestbed:Recipe',
50
          'erp5testnode = slapos.recipe.erp5testnode:Recipe',
51
          'helloworld = slapos.recipe.helloworld:Recipe',
52
          'generic.cloudooo = slapos.recipe.generic_cloudooo:Recipe',
53
          'fontconfig = slapos.recipe.fontconfig:Recipe',
54
          'java = slapos.recipe.java:Recipe',
55
          'kumofs = slapos.recipe.kumofs:Recipe',
56
          'generic.kumofs = slapos.recipe.generic_kumofs:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
57
          'haproxy = slapos.recipe.haproxy:Recipe',
58
          'kvm = slapos.recipe.kvm:Recipe',
59
          'libcloud = slapos.recipe.libcloud:Recipe',
60
          'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
61
          'memcached = slapos.recipe.memcached:Recipe',
62
          'generic.memcached = slapos.recipe.generic_memcached:Recipe',
63
          'mysql = slapos.recipe.mysql:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
64
          'generic.mysql = slapos.recipe.generic_mysql:Recipe',
65
          'mkdirectory = slapos.recipe.mkdirectory:Recipe',
66
          'nbdserver = slapos.recipe.nbdserver:Recipe',
67
          'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
68 69 70 71
          'lamp = slapos.recipe.lamp:Request',
          'lamp.request = slapos.recipe.lamp:Request',
          'lamp.static = slapos.recipe.lamp:Static',
          'lamp.simple = slapos.recipe.lamp:Simple',
72 73
          'logrotate = slapos.recipe.logrotate:Recipe',
          'logrotate.d = slapos.recipe.logrotate:Part',
Łukasz Nowak's avatar
Łukasz Nowak committed
74
          'publish = slapos.recipe.publish:Recipe',
75
          'publishurl = slapos.recipe.publishurl:Recipe',
76
          'proactive = slapos.recipe.proactive:Recipe',
77
          'request = slapos.recipe.request:Recipe',
78
          'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
79
          'symbolic.link = slapos.recipe.symbolic_link:Recipe',
80
          'softwaretype = slapos.recipe.softwaretype:Recipe',
81
          'siptester = slapos.recipe.siptester:SipTesterRecipe',
82
          'simplelogger = slapos.recipe.simplelogger:Recipe',
83
          'slaprunner = slapos.recipe.slaprunner:Recipe',
Romain Courteaud's avatar
Romain Courteaud committed
84
          'sphinx= slapos.recipe.sphinx:Recipe',
85
          'stunnel = slapos.recipe.stunnel:Recipe',
86
          'testnode = slapos.recipe.testnode:Recipe',
87
          'vifib = slapos.recipe.vifib:Recipe',
88
          'xwiki = slapos.recipe.xwiki:Recipe',
89
          'zabbixagent = slapos.recipe.zabbixagent:Recipe',
90
          'generic.zope = slapos.recipe.generic_zope:Recipe',
91
          'generic.zope.zeo.client = slapos.recipe.generic_zope_zeo_client:Recipe',
92
          'generate.erp5.tidstorage = slapos.recipe.generate_erp5_tidstorage:Recipe',
93
          'generate.cloudooo = slapos.recipe.generate_cloudooo:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
94
          'zeo = slapos.recipe.zeo:Recipe',
95
          'tidstorage = slapos.recipe.tidstorage:Recipe',
Łukasz Nowak's avatar
Łukasz Nowak committed
96
          'erp5.update = slapos.recipe.erp5_update:Recipe',
97
          'erp5.test = slapos.recipe.erp5_test:Recipe',
98 99 100 101 102
        ],
        'slapos.recipe.nosqltestbed.plugin': [
          'kumo = slapos.recipe.nosqltestbed.kumo:KumoTestBed',
        ],
      },
103
    )