Module for generic platform information: platform.py
Adrian Eyre
a.eyre at optichrome.com
Wed Oct 27 09:22:32 EDT 1999
>> The canonical way is to check for the presence of the file:
>> /usr/include/minix/config.h
> When Marc originally proposed this module, I thought of doing the Linux
> detect this way, but after a bit of thinking one realises that it won't be
> generic enough.
You're probably right. This is the way that GNU configure does it.
I'll have a look to see what uname returns.
--------------------------------------------
Adrian Eyre <mailto:a.eyre at optichrome.com>
Optichrome Computer Solutions Ltd
Maybury Road, Woking, Surrey, GU21 5HX, UK
Tel: +44 1483 740 233 Fax: +44 1483 760 644
http://www.optichrome.com
--------------------------------------------
More information about the Python-list
mailing list