setup.py 3.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
        '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': [
42 43 44 45
          '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',
46
          'davstorage = slapos.recipe.davstorage:Recipe',
47
          'duplicity = slapos.recipe.duplicity:Recipe',
48
          'erp5 = slapos.recipe.erp5:Recipe',
49
          'erp5testnode = slapos.recipe.erp5testnode:Recipe',
50
          'generate.mac = slapos.recipe.generatemac:Recipe',
51
          'helloworld = slapos.recipe.helloworld:Recipe',
52
          'java = slapos.recipe.java:Recipe',
53
          'kumofs = slapos.recipe.kumofs:Recipe',
54
          'kvm = slapos.recipe.kvm:Recipe',
55
          'kvm_frontend = slapos.recipe.kvm_frontend:Recipe',
56
          'libcloud = slapos.recipe.libcloud:Recipe',
57
          'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
58
          'memcached = slapos.recipe.memcached:Recipe',
59
          'mysql = slapos.recipe.mysql:Recipe',
60
          'mkdirectory = slapos.recipe.mkdirectory:Recipe',
61
          'nbdserver = slapos.recipe.nbdserver:Recipe',
62
          'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
63 64 65 66
          'lamp = slapos.recipe.lamp:Request',
          'lamp.request = slapos.recipe.lamp:Request',
          'lamp.static = slapos.recipe.lamp:Static',
          'lamp.simple = slapos.recipe.lamp:Simple',
67 68 69
          'logrotate = slapos.recipe.logrotate:Recipe',
          'logrotate.d = slapos.recipe.logrotate:Part',
          'publishurl = slapos.recipe.publishurl:Recipe',
70
          'proactive = slapos.recipe.proactive:Recipe',
71
          'request = slapos.recipe.request:Recipe',
72
          'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
73
          'softwaretype = slapos.recipe.softwaretype:Recipe',
74
          'siptester = slapos.recipe.siptester:SipTesterRecipe',
75
          'simplelogger = slapos.recipe.simplelogger:Recipe',
76
          'slaprunner = slapos.recipe.slaprunner:Recipe',
77
          'stunnel = slapos.recipe.stunnel:Recipe',
78
          'testnode = slapos.recipe.testnode:Recipe',
79
          'vifib = slapos.recipe.vifib:Recipe',
80
          'xwiki = slapos.recipe.xwiki:Recipe',
81
          'zabbixagent = slapos.recipe.zabbixagent:Recipe',
82
      ]},
83
    )