zc.buildout : Playing with environment in cfg files
Does buildout has something that would allow me to write something like this in my .cfg: eggs = #ifdef win32 pywin32 #endif That would be nice indeed. Or maybe a way to set up an environement before buildout starts reading the config file ? thanks Tarek -- Tarek Ziadé | Association AfPy | www.afpy.org Blog FR | http://programmation-python.org Blog EN | http://tarekziade.wordpress.com/
On Nov 4, 2007, at 4:07 PM, Tarek Ziadé wrote:
Does buildout has something that would allow me to write something like this in my .cfg:
eggs = #ifdef win32 pywin32 #endif
That would be nice indeed.
No. Note that you could have a win32.cfg that you run on Windows that does something special. I've considered having a syntax for platform-specific options or sections. We haven't needed it up to now.
Or maybe a way to set up an environement before buildout starts reading the config file ?
You can set up as many environments as you want. :) Jim -- Jim Fulton Zope Corporation
participants (2)
-
Jim Fulton
-
Tarek Ziadé