[Distutils] setup.cfg new format proposal

Sridhar Ratnakumar sridharr at activestate.com
Tue Sep 15 22:54:27 CEST 2009

On Tue, 15 Sep 2009 02:00:41 -0700, Tarek Ziadé <ziade.tarek at gmail.com>  

> [only_windows]
> condition: sys_platform == 'win32'
> requires: pywin32

I am ambivalent about using sys.platform. How do I specify Linux?

    >>> sys.platform

"linux2"? What are the possible values for `sys.platform`? Is it even a  
well-defined list? What if Linux 3.x comes out .. and the package would  
stop using the conditional dependent package (that is dependent on  

cf. http://code.google.com/p/platinfo/issues/detail?id=1


More information about the Distutils-SIG mailing list