[Scons-users] where are types defined
Bill Deegan
bill at baddogconsulting.com
Thu Aug 4 20:38:50 EDT 2016
Stefan,
I'm surprised we don't have it elsewhere but it's defeinitly in the API
docs.
http://scons.org/doc/latest/HTML/scons-api/index.html
under SCons.Script
from SCons.Script import *
Should do the trick
-Bill
On Thu, Aug 4, 2016 at 7:17 PM, Stefan Seefeld <stefan at seefeld.name> wrote:
> Hi,
>
>
> Lots of the SCons documentation assumes that user code is written into
> SConscript files, so function or object names such as 'File' or 'Action'
> are pre-defined. However, as soon as I want to modularize my build logic
> by moving code out into external .py files that breaks down, and I need
> to explicitly import the relevant modules to pull in these names.
>
> Unfortunately I still haven't found a place that tells me what SCons
> module provides which names. Right now I'm struggling to find what I
> need to import to get 'Dir' defined, for example. Is there a place for
> this in the docs that I have overlooked ?
>
>
> Thanks,
>
> Stefan
>
>
> --
>
> ...ich hab' noch einen Koffer in Berlin...
>
> _______________________________________________
> 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/20160804/d9108601/attachment.html>
More information about the Scons-users
mailing list