[Scons-users] untar builder fails with error

Mats Wichmann mats at wichmann.us
Mon Nov 7 11:16:57 EST 2022


On 11/7/22 03:53, daggs wrote:
> Greetings Mats,

>> this improves things because before you were getting a list of tarInfo
>> objects from getmembers(), effectively filtering out non-file entries -
>> but such objects presumably aren't directly useful to SCons; now you're
>> getting the string version, which is presumably the same as the .name
>> attribute.  Any reason not to go ahead and convert those to File nodes
>> at the same time?
> 
> if I'm not mistaken, the File obj wasn't found


Sure, if this tool is "out of tree", you may have to do imports to get 
access to SCons internals. You can see some of the tools in 
https://github.com/scons/scons-contrib doing this.


More information about the Scons-users mailing list