Re: Distinguishing Debian and Fedora

Alexandre Feblot <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAG2nN9f+FBw6gLMOQAaZM61KTqXpnJzXqtyxEKR9OhNBR_qE3g@mail.gmail.com>
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 <[email protected]>:

> 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:[email protected]
> 41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
>
>
> _______________________________________________
> Scons-dev mailing list
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.