[buildout] extends = ../bzip2/buildout.cfg ../gdbm/buildout.cfg ../gettext/buildout.cfg ../libexpat/buildout.cfg ../libffi/buildout.cfg ../ncurses/buildout.cfg ../openssl/buildout.cfg ../readline/buildout.cfg ../sqlite3/buildout.cfg ../zlib/buildout.cfg ../file/buildout.cfg ../xz-utils/buildout.cfg parts = python2.7 [bootstrap2.7] recipe = zc.recipe.egg eggs = zc.buildout suffix = scripts = buildout=bootstrap2.7 arguments = sys.argv[1:] + ["bootstrap"] python = python2.7 [python2.7] recipe = slapos.recipe.cmmi package_version = 2.7.10 package_version_suffix = md5sum = c685ef0b8e9f27b5e3db5db12b268ac6 # 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} patch-options = -p1 patches = ${:_profile_base_location_}/fix_compiler_module_issue_20613.patch#94443a77f903e9de880a029967fa6aa7 ${:_profile_base_location_}/pytracemalloc_pep445.patch#46662cf0ccc7cb7cfb8289bbfd68b21a url = http://python.org/ftp/python/${:package_version}/Python-${:package_version}${:package_version_suffix}.tar.xz configure-options = --enable-ipv6 --enable-unicode=ucs4 --with-system-expat --with-system-ffi --with-threads # Profiled build: make-binary = make-targets = make profile-opt && make install # the entry "-Wl,-rpath=${file:location}/lib" below is needed by python-magic, # which would otherwise load the system libmagic.so with ctypes environment = PATH=${xz-utils:location}/bin:%(PATH)s CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${libexpat:location}/include -I${libffi: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 LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${libexpat:location}/lib -L${libffi: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=${libexpat:location}/lib -Wl,-rpath=${libffi: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 -Wl,-rpath=${file:location}/lib