[Scons-dev] Distinguishing Debian and Fedora

Russel Winder russel at winder.org.uk
Tue Jan 19 04:51:51 EST 2016


SCons has a way of distinguishing Windows, OSX, and Linux, but assumes
all Windows are the same, all OSX are the same and all Linux are the
same. Whilst assuming all Windows and all OSX are the same, trying to
assume all Linux are the same can be seriously problematic.

I wonder it it is time to replace the current way of distinguishing
platforms for an enum or two instead of using strings?

Enum and IntEnum are part of Python 3.4+ and there is the enum34
package to backport to Python 2.7.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20160119/486e0def/attachment.pgp>


More information about the Scons-dev mailing list