[Scons-dev] Distinguishing Debian and Fedora

Alexandre Feblot alexandre at feblot.fr
Tue Jan 19 08:23:00 EST 2016


Hi,

If doing that, enum34 would have to be integrated in SCons sources, to keep
it dependant only on a standard python install, right?

Having no fancy external modules to install before being able to use Scons
is convenient and helpful, it should remain that simple.

2016-01-19 10:51 GMT+01:00 Russel Winder <russel at winder.org.uk>:

> 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
>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20160119/8eaff160/attachment.html>


More information about the Scons-dev mailing list