[Scons-users] changing the build directory

Russel Winder russel at winder.org.uk
Wed Mar 13 05:36:02 EDT 2013


On Tue, 2013-03-12 at 13:22 +0000, Kenny, Jason L wrote:

> Honestly I am not sure why we need to do anything more complex than a simple recursive=True|False argument.


Perhaps I may offer:

for f in Glob('blah/flob/**/thing/what/*.groovy'):
pass

as evidence that Glob(…, recursive=True) will have a hard time doing the
general case?


> A agree that Glob needs help. I added an object called Pattern in My addon Parts. I keep trying to use Glob but it just does not work for me in cases when there is some directory structure.


A fairly standard use case!
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20130313/93905375/attachment.pgp>


More information about the Scons-users mailing list