Merge branch 'master' into apache
[slapos.git] / setup.py
1 from setuptools import setup, find_packages
2 import glob
3 import os
4
5 version = '0.35'
6 name = 'slapos.cookbook'
7 long_description = open("README.txt").read() + "\n" + \
8 open("CHANGES.txt").read() + "\n"
9
10 for f in sorted(glob.glob(os.path.join('slapos', 'recipe', 'README.*.txt'))):
11 long_description += '\n' + open(f).read() + '\n'
12
13 # extras_requires are not used because of
14 # https://bugs.launchpad.net/zc.buildout/+bug/85604
15 setup(name=name,
16 version=version,
17 description="SlapOS recipes.",
18 long_description=long_description,
19 classifiers=[
20 "Framework :: Buildout :: Recipe",
21 "Programming Language :: Python",
22 ],
23 keywords='slapos recipe',
24 license='GPLv3',
25 namespace_packages=['slapos', 'slapos.recipe'],
26 packages=find_packages(),
27 include_package_data=True,
28 install_requires=[
29 'PyXML', # for full blown python interpreter
30 'lxml', # for full blown python interpreter
31 'netaddr', # to manipulate on IP addresses
32 'setuptools', # namespaces
33 'slapos.core', # uses internally
34 # 'slapos.toolbox', # needed for libcloud, cloudmgr, disabled for now
35 'xml_marshaller', # need to communication with slapgrid
36 'zc.buildout', # plays with buildout
37 'zc.recipe.egg', # for scripts generation
38 ],
39 zip_safe=True,
40 entry_points={
41 'zc.buildout': [
42 'certificate_authority = slapos.recipe.certificate_authority:Recipe',
43 'certificate_authority.request = slapos.recipe.certificate_authority:Request',
44 'cron = slapos.recipe.dcron:Recipe',
45 '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 'helloworld = slapos.recipe.helloworld:Recipe',
51 'java = slapos.recipe.java:Recipe',
52 'kumofs = slapos.recipe.kumofs:Recipe',
53 'kvm = slapos.recipe.kvm:Recipe',
54 'libcloud = slapos.recipe.libcloud:Recipe',
55 'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
56 'memcached = slapos.recipe.memcached:Recipe',
57 'mysql = slapos.recipe.mysql:Recipe',
58 'mkdirectory = slapos.recipe.mkdirectory:Recipe',
59 'nbdserver = slapos.recipe.nbdserver:Recipe',
60 'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
61 'lamp = slapos.recipe.lamp:Request',
62 'lamp.request = slapos.recipe.lamp:Request',
63 'lamp.static = slapos.recipe.lamp:Static',
64 'lamp.simple = slapos.recipe.lamp:Simple',
65 'logrotate = slapos.recipe.logrotate:Recipe',
66 'logrotate.d = slapos.recipe.logrotate:Part',
67 'publishurl = slapos.recipe.publishurl:Recipe',
68 'proactive = slapos.recipe.proactive:Recipe',
69 'request = slapos.recipe.request:Recipe',
70 'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
71 'softwaretype = slapos.recipe.softwaretype:Recipe',
72 'siptester = slapos.recipe.siptester:SipTesterRecipe',
73 'simplelogger = slapos.recipe.simplelogger:Recipe',
74 'slaprunner = slapos.recipe.slaprunner:Recipe',
75 'stunnel = slapos.recipe.stunnel:Recipe',
76 'testnode = slapos.recipe.testnode:Recipe',
77 'vifib = slapos.recipe.vifib:Recipe',
78 'xwiki = slapos.recipe.xwiki:Recipe',
79 'apache = slapos.recipe.apache:Recipe',
80 'zabbixagent = slapos.recipe.zabbixagent:Recipe',
81 ]},
82 )