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

5
version = '0.19-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
          'erp5 = slapos.recipe.erp5:Recipe',
43
          'erp5testnode = slapos.recipe.erp5testnode:Recipe',
44
          'helloworld = slapos.recipe.helloworld:Recipe',
45
          'java = slapos.recipe.java:Recipe',
46
          'kumofs = slapos.recipe.kumofs:Recipe',
47
          'kvm = slapos.recipe.kvm:Recipe',
48
          'libcloud = slapos.recipe.libcloud:Recipe',
49
          'libcloudrequest = slapos.recipe.libcloudrequest:Recipe',
50
          'memcached = slapos.recipe.memcached:Recipe',
51
          'mysql = slapos.recipe.mysql:Recipe',
52
          'nbdserver = slapos.recipe.nbdserver:Recipe',
53
          'nosqltestbed = slapos.recipe.nosqltestbed:NoSQLTestBed',
54
          'osoeslaptraining = slapos.recipe.osoeslaptraining:Request',
55 56 57
          'osoeslaptraining.request = slapos.recipe.osoeslaptraining:Request',
          'osoeslaptraining.static = slapos.recipe.osoeslaptraining:Static',
          'osoeslaptraining.simple = slapos.recipe.osoeslaptraining:Simple',
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
          'testnode = slapos.recipe.testnode:Recipe',
63
          'vifib = slapos.recipe.vifib:Recipe',
64
          'xwiki = slapos.recipe.xwiki:Recipe',
65
          'zabbixagent = slapos.recipe.zabbixagent:Recipe',
66
      ]},
67
    )