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

5
version = '0.32-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',
44 45 46 47
          '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',
48
          'download = slapos.recipe.download:Recipe',
49
          'davstorage = slapos.recipe.davstorage:Recipe',
Antoine Catton's avatar
Antoine Catton committed
50 51
          'dropbear = slapos.recipe.dropbear:Recipe',
          'dropbear.add_authorized_key = slapos.recipe.dropbear:AddAuthorizedKey',
Antoine Catton's avatar
Antoine Catton committed
52
          'dropbear.client = slapos.recipe.dropbear:Client',
53
          'duplicity = slapos.recipe.duplicity:Recipe',
54
          'erp5 = slapos.recipe.erp5:Recipe',
55
          'erp5testnode = slapos.recipe.erp5testnode:Recipe',
56
          'helloworld = slapos.recipe.helloworld:Recipe',
57
          'java = slapos.recipe.java:Recipe',
58
          'kumofs = slapos.recipe.kumofs:Recipe',
59
          'kvm = slapos.recipe.kvm:Recipe',
60
          'libcloud = slapos.recipe.libcloud:Recipe',
61
          'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
Antoine Catton's avatar
Antoine Catton committed
62
          'lockfile = slapos.recipe.lockfile:Recipe',
63
          'memcached = slapos.recipe.memcached:Recipe',
64
          'mysql = slapos.recipe.mysql:Recipe',
65
          'mydumper = slapos.recipe.mydumper:Recipe',
66
          'mkdirectory = slapos.recipe.mkdirectory:Recipe',
67
          'nbdserver = slapos.recipe.nbdserver:Recipe',
68
          'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
69 70 71 72
          'lamp = slapos.recipe.lamp:Request',
          'lamp.request = slapos.recipe.lamp:Request',
          'lamp.static = slapos.recipe.lamp:Static',
          'lamp.simple = slapos.recipe.lamp:Simple',
73 74
          'logrotate = slapos.recipe.logrotate:Recipe',
          'logrotate.d = slapos.recipe.logrotate:Part',
Łukasz Nowak's avatar
Łukasz Nowak committed
75
          'publish = slapos.recipe.publish:Recipe',
76
          'publishurl = slapos.recipe.publishurl:Recipe',
77
          'proactive = slapos.recipe.proactive:Recipe',
78
          'rdiffbackup = slapos.recipe.rdiffbackup:Recipe',
79
          'request = slapos.recipe.request:Recipe',
80
          'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
81
          'softwaretype = slapos.recipe.softwaretype:Recipe',
82
          'siptester = slapos.recipe.siptester:SipTesterRecipe',
83
          'simplelogger = slapos.recipe.simplelogger:Recipe',
84
          'slaprunner = slapos.recipe.slaprunner:Recipe',
85 86
          'sshkeys_authority = slapos.recipe.sshkeys_authority:Recipe',
          'sshkeys_authority.request = slapos.recipe.sshkeys_authority:Request',
87
          'stunnel = slapos.recipe.stunnel:Recipe',
88
          'testnode = slapos.recipe.testnode:Recipe',
Antoine Catton's avatar
Antoine Catton committed
89
          'urlparse = slapos.recipe.urlparse_:Recipe',
90
          'vifib = slapos.recipe.vifib:Recipe',
91
          'xwiki = slapos.recipe.xwiki:Recipe',
92
          'zabbixagent = slapos.recipe.zabbixagent:Recipe',
93
      ]},
94
    )