setup.py 2.69 KB
Newer Older
1
from setuptools import setup, find_packages
2 3
import glob
import os
4 5 6 7

version = '0.1'
name = 'slapos.recipebox'
long_description = open("README.txt").read() + "\n" + \
8 9 10 11 12 13
    open("CHANGES.txt").read() + "\n"

for f in glob.glob(os.path.join('slapos', 'recipe', 'README.*.txt')):
  subname = os.path.basename(f)
  long_description += subname + '\n' + '=' * len(subname) + '\n\n' \
    + open(f).read() + '\n'
14

15 16
# extras_requires are not used because of
#   https://bugs.launchpad.net/zc.buildout/+bug/85604
17 18 19 20 21 22 23 24 25 26 27 28 29 30
setup(name=name,
      version=version,
      description="Box full of slapos recipes.",
      long_description=long_description,
      classifiers=[
          "Framework :: Buildout :: Recipe",
          "Programming Language :: Python",
        ],
      keywords='slapos recipe box',
      license='GPLv3',
      namespace_packages=['slapos', 'slapos.recipe'],
      packages=find_packages(),
      include_package_data=True,
      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 36 37
        'netaddr', # to manipulate on IP addresses
        'setuptools', # namespaces
        'slapos.slap', # uses internally
38
#        'slapos.tool.cloudmgr', # needed for libclouds # disabled, as not available
39 40 41
        'xml_marshaller', # need to communication with slapgrid
        'zc.buildout', # plays with buildout
        'zc.recipe.egg', # for scripts generation
42 43
        ],
      zip_safe=True,
44 45 46 47
      entry_points={
        'zc.buildout': [
          'build = slapos.recipe.build:Script',
          '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
    )