Hi Jim, Thank you for the reply.
On Thu, 2007-12-20 at 18:23 -0500, Jim Fulton wrote: > On Dec 20, 2007, at 6:07 PM, Darryl Cousins wrote: > > > Hi, > > > > Is it possible to define in which order the parts are built. > > Yes, they are built in the order listed. You must mean the order the sections are listed and not the order listed in parts. I've tried playing with both orderings but when I start the buildout it first runs through the develop eggs then starts on with ZODB - and the custom python is not built. > > This > > relates to my previous post about custom python in the build. If I > > could > > ensure the custom python was built first would then eggs be compiled > > using the custom python? > > Well, yes, sort of. I suspect the following thread is relevent: > > http://mail.python.org/pipermail/distutils-sig/2007-November/008482.html Yes this or a similar post was my starting point some months back. I seemed to be all good but recently someone else has tested it and has run into the 2 problems mentioned. 1. Eggs (eg ZODB) are byte-comiled with system python. 2. Couldn't get postgresql to build first so that psycopg2 finds those header > > It's hard to say because your just showing snippets of your buildout. I've attached buildout.cfg and dependencies.cfg (version.cfg) is a copy of KGS. Thank you for your time. Darryl
[buildout] find-links = http://download.zope.org/zope3.4 http://download.zope.org/distribution download-cache = var/cache eggs-directory = var/eggs develop-eggs-directory = var/develop-eggs python = python log-level = DEBUG versions = versions newest = false extends = dependencies.cfg versions.cfg parts = python interpreter postgresql httpd htdocsdir apache app test ramdb egenix-mx-base psycopg2 pyxml mailqueue coverage i18n develop = . vortex.recipe.filetemplate vortex.recipe.mailqueue vortex.recipe.ramdb vortex.recipe.setup_install psycopg2da sqlos z3c.zalchemy [app] recipe = zc.recipe.egg eggs = ${interpreter:eggs} zope.app.apidoc zope.app.securitypolicy z3c.evalexception>=2.0 Paste PasteScript PasteDeploy [versions] pysqlite = 2.4.0 [mailqueue] recipe = vortex.recipe.mailqueue [coverage] recipe = zc.recipe.egg eggs = z3c.coverage [i18n] recipe = lovely.recipe:i18n package = vortex domain = vortex location = vortex output = locales [test] recipe = zc.recipe.testrunner eggs = vortex.recipe.filetemplate vortex.recipe.mailqueue vortex.recipe.ramdb vortex.recipe.setup_install psycopg2 sqlos z3c.zalchemy defaults = ['--tests-pattern', '^f?tests$', '-v' ]
[buildout] index = http://download.zope.org/ppix [python] recipe = zc.recipe.cmmi url = http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tar.bz2 extra_options = --with-threads --with-readline --enable-unicode=ucs2 executable = ${buildout:parts-directory}/python/bin/python [interpreter] recipe = zc.recipe.egg eggs = ${test:eggs} setuptools psycopg2 SQLObject sqlos lxml SQLAlchemy Pyro psycopg2da zif.jsonserver python-cjson interpreter = python [egenix-mx-base] recipe = vortex.recipe.setup_install url = http://downloads.egenix.com/python/egenix-mx-base-3.0.0.tar.gz python = python package = mx [postgresql] recipe = zc.recipe.cmmi url = ftp://ftp.nz.postgresql.org/postgresql/source/v8.2.5/postgresql-8.2.5.tar.bz2 [psycopg2] recipe = zc.recipe.egg:custom egg = psycopg2 find-links = http://www.initd.org/pub/software/psycopg/psycopg2-2.0.6.tar.gz define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3 include-dirs = ${postgresql:location}/include library-dirs = ${postgresql:location}/lib rpath = ${postgresql:location}/lib [pyxml] recipe = vortex.recipe.setup_install url = http://optusnet.dl.sourceforge.net/sourceforge/pyxml/PyXML-0.8.4.tar.gz python = python package = _xmlplus [httpd] recipe = tl.buildout_apache:httpd url = http://apache.tradebit.com/pub/httpd/httpd-2.2.6.tar.bz2 md5sum = 203bea91715064f0c787f6499d33a377 extra-options = --enable-rewrite=shared [apache] recipe = tl.buildout_apache:root user = daemon group = daemon listen = 127.0.0.1:8081 modules = authz_host rewrite servername = localhost:8081 htdocs = ${buildout:directory}/var/htdocs [htdocsdir] recipe = lovely.recipe:mkdir path = ${apache:htdocs}
_______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users