setup.py 4.24 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',
52
          'duplicity = slapos.recipe.duplicity:Recipe',
53
          'erp5 = slapos.recipe.erp5:Recipe',
54
          'erp5testnode = slapos.recipe.erp5testnode:Recipe',
55
          'helloworld = slapos.recipe.helloworld:Recipe',
56
          'java = slapos.recipe.java:Recipe',
57
          'kumofs = slapos.recipe.kumofs:Recipe',
58
          'kvm = slapos.recipe.kvm:Recipe',
59
          'libcloud = slapos.recipe.libcloud:Recipe',
60
          'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
Antoine Catton's avatar
Antoine Catton committed
61
          'lockfile = slapos.recipe.lockfile:Recipe',
62
          'memcached = slapos.recipe.memcached:Recipe',
63
          'mysql = slapos.recipe.mysql:Recipe',
64
          'mydumper = slapos.recipe.mydumper: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
          'rdiffbackup = slapos.recipe.rdiffbackup:Recipe',
78
          'request = slapos.recipe.request:Recipe',
79
          'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
80
          'softwaretype = slapos.recipe.softwaretype:Recipe',
81
          'siptester = slapos.recipe.siptester:SipTesterRecipe',
82
          'simplelogger = slapos.recipe.simplelogger:Recipe',
83
          'slaprunner = slapos.recipe.slaprunner:Recipe',
84 85
          'sshkeys_authority = slapos.recipe.sshkeys_authority:Recipe',
          'sshkeys_authority.request = slapos.recipe.sshkeys_authority:Request',
86
          'stunnel = slapos.recipe.stunnel:Recipe',
87
          'testnode = slapos.recipe.testnode:Recipe',
Antoine Catton's avatar
Antoine Catton committed
88
          'urlparse = slapos.recipe.urlparse_:Recipe',
89
          'vifib = slapos.recipe.vifib:Recipe',
90
          'xwiki = slapos.recipe.xwiki:Recipe',
91
          'zabbixagent = slapos.recipe.zabbixagent:Recipe',
92
      ]},
93
    )