[Distutils] setup.cfg new format proposal

Ronald Oussoren ronaldoussoren at mac.com
Tue Sep 22 20:56:27 CEST 2009

On 11 Sep, 2009, at 17:14, Tarek Ziadé wrote:
> - os_sysname
> - os_nodename
> - os_release
> - os_version
> - os_machine

Os.uname() does have a usability issue: the various values don't have  
a clear meaning, nor even a clear mapping to "marketing" numbers.

* os_sysname is "darwin" on a macosx machine, not something that would  
be clear to a novice OSX developer
* os_release is not necessarily the same as the version of the OS but  
returns the version of the kernel. Examples of operating systems where  
the kernel version number and OS version number aren't the same:  
Solaris, MacOSX, and of course Linux

os_nodename shouldn't be used in setup.cfg at all, I don't see a good  
reason to include the hostname in check conditions in setup.cfg.  
There's always the full setup.py if you want complicated conditions.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2224 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090922/fd11508b/attachment-0001.bin>

More information about the Distutils-SIG mailing list