[Scons-users] Creating a zip file from multiple sources with a common root
Dennis Cappendijk
dennis.cappendijk at gmail.com
Wed Feb 27 18:01:44 EST 2013
Hi All,
found a proper solution for the root-less copytree problem I had.
Using the Accumulator found @ http://www.scons.org/wiki/AccumulateBuilder
Then just calling it as:
env.Accumulate(target, [os.path.join(basedir ,x) for x in
os.listdir(basedir)])
Hope this helps someone else in the future with a similar problem :)
Cheers,
Dennis
On Wed, Feb 27, 2013 at 4:49 PM, Dirk Bächle <tshortik at gmx.de> wrote:
> Hi Dennis,
>
> can you please attach your current SConstruct (or a simplified version of
> it) to an email? Based on your description so far I'm not able to tell what
> exactly you're trying to achieve and where the culprits are.
>
> Best regards,
>
> Dirk
>
>
> ______________________________**_________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/**mailman/listinfo/scons-users<http://four.pairlist.net/mailman/listinfo/scons-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130228/480e438d/attachment.html>
More information about the Scons-users
mailing list