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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[buildout]
extends =
../software-profiles/bzip2.cfg
../software-profiles/gdbm.cfg
../software-profiles/ncurses.cfg
../software-profiles/openssl.cfg
../software-profiles/sqlite3.cfg
../software-profiles/readline.cfg
../software-profiles/zlib.cfg
../profiles/bootstrap.cfg
parts =
python2.7
[python2.7]
# 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.7
executable = ${:prefix}/bin/python${:version}
recipe = erp5.recipe.cmmisafe
python_version_full = ${:python_version_major}
url =
http://python.org/ftp/python/2.7/Python-2.7.tgz
md5sum = 35f56b092ecf39a6bd59d64f142aae0f
configure-options =
--enable-unicode=ucs4
--with-threads
python_version_major = 2.7
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
LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib -L${bzip2:location}/lib -L${gdbm:location}/lib -L${openssl:location}/lib64 -L${openssl:location}/lib -L${sqlite3:location}/lib
[bootstrap2.7]
<= bootstrap
suffix = 2.7
python = python2.7
[rebootstrap2.7]
recipe = zc.recipe.egg
eggs = zc.buildout
python = python2.7