[Erp5-report] r32325 luke - /erp5/trunk/buildout/python-2.4/buildout.cfg

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 8 18:02:05 CET 2010


Author: luke
Date: Mon Feb  8 18:02:05 2010
New Revision: 32325

URL: http://svn.erp5.org?rev=32325&view=rev
Log:
 - fine tune our own python2.4 buildout build

As we want to be more extensible and more egg and future friendly put more
stuff in configurable and reusable way. Drop extending original recipe, just
put it as reference and inspiration.

Modified:
    erp5/trunk/buildout/python-2.4/buildout.cfg

Modified: erp5/trunk/buildout/python-2.4/buildout.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/python-2.4/buildout.cfg?rev=32325&r1=32324&r2=32325&view=diff
==============================================================================
--- erp5/trunk/buildout/python-2.4/buildout.cfg [utf8] (original)
+++ erp5/trunk/buildout/python-2.4/buildout.cfg [utf8] Mon Feb  8 18:02:05 2010
@@ -1,9 +1,18 @@
 [buildout]
 # http://bluedynamics.com/articles/jens/build-python-in-buildout
-extends = https://svn.plone.org/svn/collective/buildout/bda-naked-python/buildout2.4.cfg
+# based on https://svn.plone.org/svn/collective/buildout/bda-naked-python/buildout2.4.cfg
 python_version = 2.4
+python_version_minor = 6
+python_version_full = ${:python_version}.${:python_version_minor}
+python = python
+parts =
+    python
+    pythonbin
 
 [python]
+recipe = zc.recipe.cmmi
+url =
+  http://python.org/ftp/python/${buildout:python_version_full}/Python-${buildout:python_version_full}.tgz
 extra_options +=
   --prefix=${buildout:directory}/parts/python${buildout:python_version}
 executable = ${buildout:directory}/parts/python${buildout:python_version}/bin/python${buildout:python_version}
@@ -11,3 +20,17 @@
 [pythonbin]
 recipe = plone.recipe.command
 command = ln -s ${python:executable} ${buildout:bin-directory}/python${buildout:python_version}
+
+[requirements]
+binary =
+  g++
+  gcc
+  make
+
+development =
+  /usr/include/termcap.h
+  /usr/include/curses.h
+  /usr/include/zlib.h
+  /usr/include/bzlib.h
+  /usr/include/openssl/ssl.h
+  /usr/include/jpeglib.h




More information about the Erp5-report mailing list