buildout.cfg 1.95 KB
Newer Older
1 2
[buildout]
extends =
Łukasz Nowak's avatar
Łukasz Nowak committed
3 4 5 6 7 8 9 10
  ../bzip2/buildout.cfg
  ../gdbm/buildout.cfg
  ../gettext/buildout.cfg
  ../ncurses/buildout.cfg
  ../openssl/buildout.cfg
  ../readline/buildout.cfg
  ../sqlite3/buildout.cfg
  ../zlib/buildout.cfg
11 12 13 14 15

parts =
    python2.7

[python2.7]
16
<= python2.7.2
17

18
[python2.7.1]
19
<= python2.7common
20 21
package_version = 2.7.1
md5sum = aa27bc25725137ba155910bd8e5ddc4f
22 23
package_version_suffix =

24
[python2.7.2]
25
<= python2.7common
26 27
package_version = 2.7.2
md5sum = ba7b2f11ffdbf195ee0d111b9455a5bd
28 29 30 31 32 33 34 35 36 37 38 39 40
package_version_suffix =

[bootstrap2.7]
recipe = zc.recipe.egg
eggs = zc.buildout
suffix =
scripts =
    buildout=bootstrap2.7
arguments = sys.argv[1:] + ["bootstrap"]
python = python2.7

[python2.7common]
recipe = hexagonit.recipe.cmmi
41 42
depends =
  ${gdbm:version}
43 44 45 46 47 48 49
# 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 =
50
  http://python.org/ftp/python/${:package_version}/Python-${:package_version}${:package_version_suffix}.tar.bz2
51 52 53 54 55 56
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${gettext:location}/include
57
  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=${zlib:location}/lib -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${ncurses:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${gdbm:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${sqlite3:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib