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

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