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

5
version = '0.2-dev1'
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
        'PyXML', # for full blown python interpreter
30
        'Zope2', # some recipes like to play with zope
31
        'collective.recipe.template', # needed by template recipe
32
        'lxml', # for full blown python interpreter
33 34 35
        'netaddr', # to manipulate on IP addresses
        'setuptools', # namespaces
        'slapos.slap', # uses internally
Łukasz Nowak's avatar
Łukasz Nowak committed
36
#        'slapos.toolbox', # needed for libcloud, cloudmgr, disabled for now
37 38 39
        'xml_marshaller', # need to communication with slapgrid
        'zc.buildout', # plays with buildout
        'zc.recipe.egg', # for scripts generation
40 41
        ],
      zip_safe=True,
42 43 44 45
      entry_points={
        'zc.buildout': [
          'build = slapos.recipe.build:Script',
          'buildcmmi = slapos.recipe.build:Cmmi',
46
          'download = slapos.recipe.download:Recipe',
47
          'erp5 = slapos.recipe.erp5:Recipe',
48
          'erp5testnode = slapos.recipe.erp5testnode:Recipe',
49
          'helloworld = slapos.recipe.helloworld:Recipe',
50
          'java = slapos.recipe.java:Recipe',
51
          'kvm = slapos.recipe.kvm:Recipe',
52
          'libcloud = slapos.recipe.libcloud:Recipe',
53
          'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
54
          'nbdserver = slapos.recipe.nbdserver:Recipe',
55
          'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
56
          'proactive = slapos.recipe.proactive:Recipe',
57
          'sheepdogtestbed = slapos.recipe.sheepdogtestbed:SheepDogTestBed',
58
          'siptester = slapos.recipe.siptester:SipTesterRecipe',
59
          'slaprunner = slapos.recipe.slaprunner:Recipe',
60
          'template = slapos.recipe.template:Recipe',
61
          'testnode = slapos.recipe.testnode:Recipe',
62
          'vifib = slapos.recipe.vifib:Recipe',
63
          'xwiki = slapos.recipe.xwiki:Recipe',
Rafael Monnerat's avatar
Rafael Monnerat committed
64
          'apache = slapos.recipe.apache:Recipe', 
65
      ]},
66
    )