[Distutils] setup.cfg new format proposal
ziade.tarek at gmail.com
Tue Sep 15 23:15:04 CEST 2009
2009/9/15 Sridhar Ratnakumar <sridharr at activestate.com>:
> On Tue, 15 Sep 2009 02:00:41 -0700, Tarek Ziadé <ziade.tarek at gmail.com>
>> 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?
Yes of course,
os.uname() also give you more details on the platform/
> What if Linux 3.x comes out .. and the package would stop
> using the conditional dependent package (that is dependent on 'linux2')?
The same thing that what would happen when Python 4 is out I guess,
all distributions will have to change their dependencies list (thus
the setup.cfg file)
accordingly in their next release.
> cf. http://code.google.com/p/platinfo/issues/detail?id=1
Tarek Ziadé | http://ziade.org | オープンソースはすごい!
More information about the Distutils-SIG