Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 85 lines (73 sloc) 2.878 kb
ee65cdb moved tests into cloudboot sub module
BuzzTroll authored
1 import os
50edb22 working nicely with easy install now
BuzzTroll authored
2 from setuptools import setup, find_packages
3 import sys
363e2d9 adding a setup package
BuzzTroll authored
4
5 __author__ = 'bresnaha'
6
67075bd @oldpatricka Bump version number
oldpatricka authored
7 Version = "1.2"
363e2d9 adding a setup package
BuzzTroll authored
8
38e82eb @timf use tuple comparison
timf authored
9 if sys.version_info[:2] < (2,5):
363e2d9 adding a setup package
BuzzTroll authored
10 sys.stderr.write("Your Python version %d.%d.%d is not supported.\n" % sys.version_info[:3])
3262d54 renaming to cloudinitd.
BuzzTroll authored
11 sys.stderr.write("cloudinitd requires Python 2.5 or newer.\n")
363e2d9 adding a setup package
BuzzTroll authored
12 sys.exit(1)
13
ee65cdb moved tests into cloudboot sub module
BuzzTroll authored
14 #get test plan list
15 def plans_list_dirs(p):
16
17 files = []
18 l = os.listdir(p)
19 for f in l:
20 this_d = os.path.join(p, f)
21 if os.path.isdir(this_d):
22 sub_l = plans_list_dirs(this_d)
23 files = files + sub_l
24 else:
25 files.append((p, [this_d,],))
26
27 return files
28
29 basepath = os.path.dirname(__file__)
30 test_plans = plans_list_dirs(os.path.join(basepath, "tests/plans"))
31
3262d54 renaming to cloudinitd.
BuzzTroll authored
32 setup(name='cloudinitd',
363e2d9 adding a setup package
BuzzTroll authored
33 version=Version,
34 description='An Open Source bootstrap tool for services in the cloud.',
35 author='Nimbus Development Team',
36 author_email='workspace-user@globus.org',
37 url='http://www.nimbusproject.org/',
50edb22 working nicely with easy install now
BuzzTroll authored
38 packages=[ 'cloudinitd', 'cloudinitd.cli', 'cloudinitd.nosetests', 'tests' ],
363e2d9 adding a setup package
BuzzTroll authored
39 entry_points = {
40 'console_scripts': [
3262d54 renaming to cloudinitd.
BuzzTroll authored
41 'cloudinitd = cloudinitd.cli.boot:main',
ee65cdb moved tests into cloudboot sub module
BuzzTroll authored
42 ],
363e2d9 adding a setup package
BuzzTroll authored
43
ee65cdb moved tests into cloudboot sub module
BuzzTroll authored
44 },
50edb22 working nicely with easy install now
BuzzTroll authored
45 include_package_data = True,
46 data_files = test_plans,
47 package_data = {},
48 download_url ="http://www.nimbusproject.org/downloads/cloudinitd-%s.tar.gz" % (Version),
0030fb5 adding package classfiers
BuzzTroll authored
49 keywords = "cloud boot tool initialize services",
363e2d9 adding a setup package
BuzzTroll authored
50 long_description="""
51 This package can be considered the /etc/rc.d of the cloud!
52
53 This libary helps users bootstrap many dependent VMs in a cloud (or many clouds). Services are associated with
54 virtual machine images in a cloud and then organized into levels. Each level is booted in order. Booting a level
55 means launching and configuring all of the VMs needed for each service in the level to run. Once level 1 is
56 booted and ready to go, booting begins on level 2.
57 """,
58 license="Apache2",
e338ab2 @oldpatricka Switch to libcloud 0.11.1
oldpatricka authored
59 install_requires = [
7659d25 @buzztroll making it compat with boto 2.6
buzztroll authored
60 "boto >= 2.6",
e338ab2 @oldpatricka Switch to libcloud 0.11.1
oldpatricka authored
61 "sqlalchemy >= 0.7.6",
62 "fabric == 1.3",
63 "simplejson >= 2.1",
64 "apache-libcloud == 0.11.1",
65 "uuid",
66 "PyCrypto >=2.1, <2.4"
67 ],
0030fb5 adding package classfiers
BuzzTroll authored
68
69 classifiers=[
70 'Development Status :: 4 - Beta',
71 'Environment :: Console',
72 'Intended Audience :: End Users/Desktop',
73 'Intended Audience :: Developers',
74 'Intended Audience :: System Administrators',
75 'License :: OSI Approved :: Apache Software License',
76 'Operating System :: MacOS :: MacOS X',
77 'Operating System :: Microsoft :: Windows',
78 'Operating System :: POSIX',
79 'Operating System :: POSIX :: Linux',
80 'Programming Language :: Python',
81 'Topic :: System :: Clustering',
82 'Topic :: System :: Distributed Computing',
83 ],
363e2d9 adding a setup package
BuzzTroll authored
84 )
Something went wrong with that request. Please try again.