Skip to content

Instantly share code, notes, and snippets.

@kcleong
Last active September 6, 2018 19:07
Show Gist options
  • Save kcleong/b4cc0deaa321fb1d1a1c04b6f823197e to your computer and use it in GitHub Desktop.
Save kcleong/b4cc0deaa321fb1d1a1c04b6f823197e to your computer and use it in GitHub Desktop.
Development buildout config
[buildout]
extends = buildout-dvl.cfg
parts +=
ipzope
instance0
zopepy
[versions]
ipython = 5.5
[instance-settings]
debug-mode = on
verbose-security = off
eggs +=
# drop /ipdb behind any url to invoke an ipdb debugger
iw.debug
Products.PrintingMailHost
zcml +=
iw.debug
environment-vars =
ENABLE_PRINTING_MAILHOST True
[instance0]
<= instance-settings
http-address = 8080
zeo-client = off
#zope-conf-additional =
# %import sauna.reload
[zopepy]
recipe = zc.recipe.egg
eggs =
${instance0:eggs}
# need to explicitly mention Products.CMFPlone in order for plone-compile-resources to be found
Products.CMFPlone
interpreter = zopepy
scripts =
zopepy
[ipzope]
# An IPython Shell for interactive use with Zope running.
#
# It requires the `ipy_profile_zope.py` configuration script.
# Get this from [email protected]:collective/dotipython.git
# and put it in your profile directory. Depending on your setup,
# this may be at
# `$HOME/.ipython/profile_zope/startup`,
# `$HOME/.config/ipython/profile_zope/startup` (Ubuntu 12.04), or see
# http://ipython.org/ipython-doc/dev/config/overview.html#configuration-file-location
# for more details.
#
recipe = zc.recipe.egg
eggs =
ipython
${instance0:eggs}
initialization =
import sys, os
os.environ["INSTANCE_HOME"] = "${instance0:location}"
sys.argv[1:1] = "--profile=zope".split()
scripts = ipython=ipzope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment