[Distutils] Support for condition to include or exclude a buildout sections based on a Python expression

Jim Fulton jim at zope.com
Wed Jan 30 13:39:19 CET 2013


On Tue, Jan 29, 2013 at 6:25 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> On Wed, Jan 30, 2013 at 12:02 AM, Philippe Ombredanne
> <pombredanne at nexb.com> wrote:
>> All:
>>
>> I prepared a pull request https://github.com/buildout/buildout/pull/51
>> to add support in Buildout 2 for conditional sections expressions.
>
> If you're going to do something like this, it would be good to base it
> on PEP 345/426 style "environment markers", which are basically the
> same idea applied to dependency definitions in the package metadata:
> http://www.python.org/dev/peps/pep-0426/#environment-markers

I think it makes sense to support these markers.

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton
Jerky is better than bacon! http://zo.pe/Kqm


More information about the Distutils-SIG mailing list