Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (67 sloc) 2.59 KB
#!/usr/bin/env pythonv
import os
__author__ = 'bresnaha'
from setuptools import setup
except ImportError:
from distutils.core import setup
import sys
Version = "0.1"
if float("%d.%d" % sys.version_info[:2]) < 2.5:
sys.stderr.write("Your Python version %d.%d.%d is not supported.\n" % sys.version_info[:3])
sys.stderr.write("cloudinitd requires Python 2.5 or newer.\n")
#get test plan list
def plans_list_dirs(p):
files = []
l = os.listdir(p)
for f in l:
this_d = os.path.join(p, f)
if os.path.isdir(this_d):
sub_l = plans_list_dirs(this_d)
files = files + sub_l
files.append((p, [this_d,],))
return files
basepath = os.path.dirname(__file__)
test_plans = plans_list_dirs(os.path.join(basepath, "tests/plans"))
print test_plans
description='An Open Source bootstrap tool for services in the cloud.',
author='Nimbus Development Team',
packages=[ 'cloudinitd', 'cloudinitd.cli', 'cloudinitd.nosetests' ],
entry_points = {
'console_scripts': [
'cloudinitd = cloudinitd.cli.boot:main',
keywords = "cloud boot tool initialize services",
This package can be considered the /etc/rc.d of the cloud!
This libary helps users bootstrap many dependent VMs in a cloud (or many clouds). Services are associated with
virtual machine images in a cloud and then organized into levels. Each level is booted in order. Booting a level
means launching and configuring all of the VMs needed for each service in the level to run. Once level 1 is
booted and ready to go, booting begins on level 2.
install_requires = ["boto >= 1.9", "sqlalchemy >= 0.6", "fabric >= 0.9"],
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: System :: Clustering',
'Topic :: System :: Distributed Computing',
Jump to Line
Something went wrong with that request. Please try again.