Fix more naming.
[slapos.git] / setup.py
1 from setuptools import setup, find_packages
2 import glob
3 import os
4
5 version = '0.1'
6 name = 'slapos.cookbook'
7 long_description = open("README.txt").read() + "\n" + \
8 open("CHANGES.txt").read() + "\n"
9
10 for f in glob.glob(os.path.join('slapos', 'recipe', 'README.*.txt')):
11 subname = os.path.basename(f)
12 long_description += subname + '\n' + '=' * len(subname) + '\n\n' \
13 + open(f).read() + '\n'
14
15 # extras_requires are not used because of
16 # https://bugs.launchpad.net/zc.buildout/+bug/85604
17 setup(name=name,
18 version=version,
19 description="Cook book of SlapOS recipes.",
20 long_description=long_description,
21 classifiers=[
22 "Framework :: Buildout :: Recipe",
23 "Programming Language :: Python",
24 ],
25 keywords='slapos recipe',
26 license='GPLv3',
27 namespace_packages=['slapos', 'slapos.recipe'],
28 packages=find_packages(),
29 include_package_data=True,
30 install_requires=[
31 'PyXML', # for full blown python interpreter
32 'Zope2', # some recipes like to play with zope
33 'collective.recipe.template', # needed by template recipe
34 'lxml', # for full blown python interpreter
35 'netaddr', # to manipulate on IP addresses
36 'setuptools', # namespaces
37 'slapos.slap', # uses internally
38 # 'slapos.tool.cloudmgr', # needed for libclouds # disabled, as not available
39 'xml_marshaller', # need to communication with slapgrid
40 'zc.buildout', # plays with buildout
41 'zc.recipe.egg', # for scripts generation
42 ],
43 zip_safe=True,
44 entry_points={
45 'zc.buildout': [
46 'build = slapos.recipe.build:Script',
47 'buildcmmi = slapos.recipe.build:Cmmi',
48 'download = slapos.recipe.download:Recipe',
49 'erp5 = slapos.recipe.erp5:Recipe',
50 'erp5testnode = slapos.recipe.erp5testnode:Recipe',
51 'helloworld = slapos.recipe.helloworld:Recipe',
52 'java = slapos.recipe.java:Recipe',
53 'kvm = slapos.recipe.kvm:Recipe',
54 'libcloud = slapos.recipe.libcloud:Recipe',
55 'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
56 'nbdserver = slapos.recipe.nbdserver:Recipe',
57 'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
58 'proactive = slapos.recipe.proactive:Recipe',
59 'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
60 'siptester = slapos.recipe.siptester:SipTesterRecipe',
61 'slaprunner = slapos.recipe.slaprunner:Recipe',
62 'template = slapos.recipe.template:Recipe',
63 'testnode = slapos.recipe.testnode:Recipe',
64 'vifib = slapos.recipe.vifib:Recipe',
65 'xwiki = slapos.recipe.xwiki:Recipe',
66 ]},
67 )