python-2.7.cfg 1.75 KB
Newer Older
1
[buildout]
2
extends =
3 4 5 6 7 8 9
  bzip2.cfg
  gdbm.cfg
  ncurses.cfg
  openssl.cfg
  readline.cfg
  sqlite3.cfg
  zlib.cfg
10

11 12 13 14
parts =
    python2.7

[python2.7]
15
<= python2.7.1
16 17 18 19 20 21 22

[python2.7.0]
<= python2.7common
package_version = 2.7
md5sum = 35f56b092ecf39a6bd59d64f142aae0f
package_version_suffix =

23
[python2.7.1]
24 25
<= python2.7common
package_version = 2.7.1
26 27
md5sum = 15ed56733655e3fab785e49a7278d2fb
package_version_suffix =
28 29

[bootstrap2.7]
30 31 32 33 34 35
recipe = zc.recipe.egg
eggs = zc.buildout
suffix =
scripts =
    buildout=bootstrap2.7
arguments = sys.argv[1:] + ["bootstrap"]
36 37 38
python = python2.7

[python2.7common]
39
recipe = hexagonit.recipe.cmmi
40 41 42 43 44 45 46
# 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}

url =
47
  http://python.org/ftp/python/${:package_version}/Python-${:package_version}${:package_version_suffix}.tgz
48 49 50 51
configure-options =
  --enable-unicode=ucs4
  --with-threads

52
environment =
53 54
  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}/lib -L${sqlite3:location}/lib -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
55

56