[Scons-dev] Getting started with the SCons code base~

Dirk Bächle tshortik at gmx.de
Sun Jul 13 07:34:08 EDT 2014


On 12.07.2014 23:43, William Blevins wrote:
> Back to 2395:
>
> My python expertise isn't 5 star, and I'm confused on how to propagate 
> a "symlinks" argument down.
>
I'm a little confused, too...

> What I imagine my SConscript should do: env.InstallAs( a, b, 
> symlinks=False )
>
because that's not what the issue description tells me. It's about 
Copy(), not Install().

> Where the scons copy command exists: SCons.Tools.install.copyFunc
>
> There are so many wrapper layers I feel like I'm spinning in circles. 
>  I was able to follow it up until "src/engine/SCons/Action.py:1065" 
> and then I get an argument count mismatch for installFunc.  I'm 
> worried about changing the Action.execute interface, so I'm not sure 
> how to proceed.
>
> Any thoughts?
>
>

Please, concentrate on Copy() and its copy_function as defined in 
Defaults.py. Leave the Install()/CopyAs/CopyTo Tools as they are...there 
shouldn't be a need to change any of Action()'s, Builder()'s or 
Executor()'s interface.

Dirk



More information about the Scons-dev mailing list