[Distutils] PEP 390 - new format from setup.cfg
Tarek Ziadé
ziade.tarek at gmail.com
Mon Oct 12 11:49:27 CEST 2009
On Mon, Oct 12, 2009 at 11:01 AM, Floris Bruynooghe
<floris.bruynooghe at gmail.com> wrote:
> On Mon, Oct 12, 2009 at 12:17:10AM +0200, Tarek Ziadé wrote:
>> this is the PEP for setup.cfg, as requested :
>> http://www.python.org/dev/peps/pep-0390
>>
>> Please comment,
>
> <, <=, >=, > and python_hexversion are not mentioned, is this
> intentional? (I'm not sure on what the result of feedback on this
> was)
That was the result of the feedback we had (see 'limitations' section)
for clarity.
The idea is to leave a string "python_version", and remove '>', '<' with no
python_hexversion.
Then, the day PEP 386 is accepted, we turn "python_version" into a Version()
object and we introduce '>', '<' and al.
>
> Secondly, where are spaces allowed in the section headers? I'd be
> tempted to write:
>
> [metadata: os_machine == 'i386']
>
> But in all your examples you never have spaces after the ':'. Would
> it be worth being explicit about this?
Good point, I'll add this.
Tarek
More information about the Distutils-SIG
mailing list