Glance now deploys through buildout, and copious comments added

This commit is contained in:
Mark Gius 2011-06-30 12:02:03 -07:00
parent 0d0fde12f8
commit 1c294077a3

View File

@ -1,43 +1,83 @@
[buildout] [buildout]
parts = parts =
django django
django-mailer django-openstack
launchpad launchpad
openstack-compute openstack-compute
openstackx openstackx
python
python-cloudfiles
develop = . develop = .
eggs = django-openstack
versions = versions versions = versions
[versions] [versions]
django = 1.3 django = 1.3
# the following are for glance-dependencies
eventlet = 0.9.12
greenlet = 0.3.1
pep8 = 0.5.0
sqlalchemy = 0.6.3
sqlalchemy-migrate = 0.6
webob = 1.0.8
[python]
[dependencies]
# dependencies that are found locally ${buildout:directory}/module
# or can be fetched from pypi
recipe = zc.recipe.egg recipe = zc.recipe.egg
eggs =
django-mailer
python-cloudfiles
interpreter = python interpreter = python
eggs = ${buildout:eggs}
# glance doesn't have a client, and installing
# from bzr doesn't install deps
[glance-dependencies]
recipe = zc.recipe.egg
eggs =
PasteDeploy
anyjson
argparse
eventlet
greenlet
paste
pep8
routes
sqlalchemy
sqlalchemy-migrate
webob
interpreter = python
[django-openstack]
recipe = zc.recipe.egg
eggs = django-openstack
interpreter = python
[django] [django]
# defines settings for django
# any dependencies that cannot be satisifed via the dependencies
# recipe above will need to be added to the extra-paths here.
# IE, dependencies fetch from a git repo will not auto-populate
# like the zc.recipe.egg ones will
recipe = djangorecipe recipe = djangorecipe
project = django_openstack project = django_openstack
projectegg = django_openstack projectegg = django_openstack
settings = tests settings = tests
test = django_openstack test = django_openstack
eggs = ${buildout:eggs} eggs =
${dependencies:eggs}
${django-openstack:eggs}
${glance-dependencies:eggs}
extra-paths = extra-paths =
${buildout:directory}/launchpad/glance ${buildout:directory}/launchpad/glance
${buildout:directory}/parts/django-mailer
${buildout:directory}/parts/openstack-compute ${buildout:directory}/parts/openstack-compute
${buildout:directory}/parts/openstackx ${buildout:directory}/parts/openstackx
${buildout:directory}/parts/python-cloudfiles
[django-mailer]
recipe = zerokspot.recipe.git
repository = git://github.com/jtauber/django-mailer.git
as_egg = True
## Dependencies fetch from git
# git dependencies end up as a subdirectory of ${buildout:directory}/parts/
[openstack-compute] [openstack-compute]
recipe = zerokspot.recipe.git recipe = zerokspot.recipe.git
repository = git://github.com/jacobian/openstack.compute.git repository = git://github.com/jacobian/openstack.compute.git
@ -48,12 +88,21 @@ recipe = zerokspot.recipe.git
repository = git://github.com/cloudbuilders/openstackx.git repository = git://github.com/cloudbuilders/openstackx.git
as_egg = True as_egg = True
[python-cloudfiles]
recipe = zerokspot.recipe.git
repository = git://github.com/rackspace/python-cloudfiles.git
as_egg = True
## Dependencies fetched from launchpad
# launchpad dependencies will appear as subfolders of
# ${buildout:directory}/launchpad/
# multiple urls can be specified, format is
# branch_url subfolder_name
# don't forget to add directory to extra_paths in [django]
[launchpad] [launchpad]
recipe = bazaarrecipe recipe = bazaarrecipe
urls = urls =
https://launchpad.net/~hudson-openstack/glance/trunk/ glance https://launchpad.net/~hudson-openstack/glance/trunk/ glance
## Dependencies fetch from other bzr locations
#[bzrdeps]
#recipe = bazaarrecipe
#urls =
# https://launchpad.net/~hudson-openstack/glance/trunk/ glance