[Scons-users] advantages to scons facilities vs. python ones?

Bill Deegan bill at baddogconsulting.com
Wed Jul 12 17:28:41 EDT 2017


One note. Remember that by default shell environment variables do not
propagate to scons or the commands it runs to build files.

So if you are running a command via python calls which run external
programs, you may want to be careful that they are run with the same
environment variables as within scons.

On Wed, Jul 12, 2017 at 4:54 PM, Mats Wichmann <mats at wichmann.us> wrote:

> On 07/12/2017 02:35 PM, Bill Deegan wrote:
> > Mats,
> >
> > It really depends in what context.
> >
> > Are you trying to find out the current state of the system (as above
> > looking for installed tools), then python is likely the right way.
> > Are you trying to do something with an object which may or may not yet be
> > built, then likely use SCons.
>
> Okay, that makes sense. Thanks!
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170712/82a0c3a0/attachment-0001.html>


More information about the Scons-users mailing list