[Distutils] zc.buildout/zc, recipe.egg: passing extra options for build_ext

Jim Fulton jim at zope.com
Fri Feb 18 17:23:17 CET 2011

On Fri, Feb 18, 2011 at 11:18 AM, Maurits van Rees
<m.van.rees at zestsoftware.nl> wrote:
> Hi,
> I see that you can add specify some custom build settings for packages with
> C-extensions:
> http://pypi.python.org/pypi/zc.recipe.egg#creating-eggs-with-extensions-needing-custom-build-settings
> The options you can pass are limited though.  In my case for the InformixDB
> package I want to pass '--esql-threadlib = posix' to the build process.
>  Currently this is not possible.
> Is there a reason why only the current hardcoded options (like include-dirs)
> are available for customizing?  It looks like it should be possible to
> change the zc.recipe.egg code to look for other options and pass them to the
> build_ext call.  The only thing that might be tricky is to make a difference
> between options in the buildout part that should be passed to build_ext and
> options that have a totally different meaning and should be ignored by
> build_ext.
> Would this be a good addition to zc.recipe egg?


> I could create a branch and
> try it.  That should be a branch of zc.buildout, right?



Jim Fulton

More information about the Distutils-SIG mailing list