diff --git a/buildout/software-profiles/python-2.6.cfg b/buildout/software-profiles/python-2.6.cfg index 1d986e70e56ab7e2c93553c212925a9d9b5259bd..94562b35770a181dbdd47cf9c061b4bc924fcf96 100644 --- a/buildout/software-profiles/python-2.6.cfg +++ b/buildout/software-profiles/python-2.6.cfg @@ -8,16 +8,27 @@ extends = ../software-profiles/readline.cfg ../software-profiles/sqlite3.cfg ../software-profiles/zlib.cfg - ../software-profiles/python-common.cfg ../profiles/bootstrap.cfg + ../profiles/links.cfg parts = python2.6 [python2.6] -<= python-common -python_version_major = 2.6 -python_version_minor = 6 +recipe = erp5.recipe.cmmisafe +# This is actually the default setting for prefix, but we can't use it in +# other settings in this part if we don't set it explicitly here. +prefix = ${buildout:parts-directory}/${:_buildout_section_name_} +version = 2.6 +package_version = ${:version}.6 +executable = ${:prefix}/bin/python${:version} + +url = + http://python.org/ftp/python/${:package_version}/Python-${:package_version}.tgz +md5sum = b2f209df270a33315e62c1ffac1937f0 +configure-options = + --enable-unicode=ucs4 + --with-threads environment = CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${ncurses:location}/include/ -I${ncurses:location}/include/ncursesw/ -I${bzip2:location}/include -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include -I${libdb:location}/include