[Distutils] Support for condition to include or exclude a buildout sections based on a Python expression
Nick Coghlan
ncoghlan at gmail.com
Wed Jan 30 00:25:26 CET 2013
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
Regards,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Distutils-SIG
mailing list