[Distutils] setup.cfg new format proposal
Floris Bruynooghe
floris.bruynooghe at gmail.com
Tue Sep 15 17:44:00 CEST 2009
On Tue, Sep 15, 2009 at 01:38:22PM +0200, Tarek Ziadé wrote:
> Another options is to prefix those sections that are to be used with [setup]:
>
> """
> [global]
> verbose: 1
>
> [setup]
> name: MyDistribution
> version: 1.0
>
> [setup:only_windows]
> condition: sys_platform == 'win32'
> requires: pywin32
>
> [setup:only_mac]
> condition: sys_platform == 'darwin'
> requires: pywin32
>
> [foo]
> verbose: 1
> condition: badababdalolo
> """"
That's quite nice, +1
And is it worth to consider erroring out when you have a [setup:.*]
section without a "condition: ..." line?
Regards
Floris
--
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org
More information about the Distutils-SIG
mailing list