diff --git a/buildout/software-profiles/erp5.cfg b/buildout/software-profiles/erp5.cfg index 7dc2515677c71ddfa64bbf4961e532415a492a6d..ae61f7fcc9a0adbb5f4e1dc7e76588133fc43437 100644 --- a/buildout/software-profiles/erp5.cfg +++ b/buildout/software-profiles/erp5.cfg @@ -83,9 +83,6 @@ dependent-scripts = true interpreter = python${python2.4:version} extra-paths = ${zope-2.8:location}/lib/python -scripts = - python=${:interpreter} - ipython=ipython${python2.4:version} [requirements] development = diff --git a/buildout/software-profiles/python-2.4.cfg b/buildout/software-profiles/python-2.4.cfg index fc7ce079115e508fc9cf3ab6bcfe9982c4b40b17..987742f415067f4e0444cd476c760eff5adf59ba 100644 --- a/buildout/software-profiles/python-2.4.cfg +++ b/buildout/software-profiles/python-2.4.cfg @@ -1,8 +1,9 @@ [buildout] +develop += local-eggs/localbin # extend your buildout with python-common.cfg before extending with this file parts = - python2.4 + pythonbin2.4 [python2.4-dbm-patch] recipe = hexagonit.recipe.download @@ -19,3 +20,16 @@ name = python2.4 # XXX maybe add the tarfile patch as well? patches = ${python2.4-dbm-patch:location}/${python2.4-dbm-patch:filename} + +[pythonbin2.4] +# XXX/Note: This is hackish way to have fully featured python interpreter +recipe = zc.recipe.egg:scripts +eggs = ${eggs:eggs} + invokepython +extra-paths = + ${zope-2.8:location}/lib/python +dependent-scripts = true +scripts = + invokepython=python${python2.4:python_version_major} + ipython=ipython${python2.4:python_version_major} +