forked from ploneintranet/ploneintranet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ipzope.cfg
27 lines (24 loc) · 874 Bytes
/
ipzope.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# a IPython Shell for interactive use with zope.
# It's best to use this with a zeo instance.
[buildout]
extends = buildout.cfg
parts += ipzope
auto-checkout += slc.ipythonprofiles
[ipzope]
recipe = zc.recipe.egg
eggs =
ipython
${instance:eggs}
initialization =
import sys, os
os.environ["SOFTWARE_HOME"] = " "
os.environ["INSTANCE_HOME"] = "${instance:location}"
os.environ["CONFIG_FILE"] = "${instance:location}/etc/zope.conf"
os.environ["IPYTHONDIR"] = os.path.join("${buildout:directory}", "${buildout:sources-dir}", "slc.ipythonprofiles")
sys.argv[1:1] = "--profile=zope".split()
scripts = ipython=ipzope
extra-paths = ${buildout:sources-dir}/slc.ipythonprofiles/profile_zope
[sources]
slc.ipythonprofiles = git https://github.com/syslabcom/slc.ipythonprofiles.git egg=false
[versions]
ipython = 3.0.0