python-2.7.cfg 1.6 KB
Newer Older
1
[buildout]
2
extends =
3 4
  ../software-profiles/bzip2.cfg
  ../software-profiles/gdbm.cfg
5
  ../software-profiles/libdb.cfg
6 7 8
  ../software-profiles/ncurses.cfg
  ../software-profiles/openssl.cfg
  ../software-profiles/readline.cfg
9
  ../software-profiles/sqlite3.cfg
10
  ../software-profiles/zlib.cfg
11 12
  ../profiles/bootstrap.cfg

13 14 15 16 17 18 19 20 21 22
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}

23
recipe = erp5.recipe.cmmisafe
24 25 26 27 28 29 30 31 32 33
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

34
environment =
35 36
  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
  LDFLAGS=-Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${readline:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib -Wl,-rpath -Wl,${bzip2:location}/lib -Wl,-rpath -Wl,${gdbm:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -Wl,-rpath -Wl,${sqlite3:location}/lib -Wl,-rpath -Wl,${libdb:location}/lib
37

38
[bootstrap2.7]
39 40
<= bootstrap
suffix = 2.7
41
python = python2.7
42 43 44 45 46

[rebootstrap2.7]
recipe = zc.recipe.egg
eggs = zc.buildout
python = python2.7