[Scons-users] scandir & scons

Daniel Holth dholth at gmail.com
Mon Jun 13 11:35:41 EDT 2016


It would be a nice little exercise. You would just have to try for scandir,
and if it was available, certain filesystem nodes created from the
filesystem would have stat() or most of it including isdir() already cached
on instantiation.

On Mon, Jun 13, 2016 at 11:18 AM Bill Deegan <bill at baddogconsulting.com>
wrote:

> Daniel,
>
> Haven't yet.
> Currently it's difficult to add pypi dependencies to SCons. We're not 100%
> pypi'ish yet.  (it fails in some contexts)
>
> -Bill
>
> On Mon, Jun 13, 2016 at 9:28 AM, Daniel Holth <dholth at gmail.com> wrote:
>
>> Has anyone tried adding https://pypi.python.org/pypi/scandir to scons?
>> It is a remarkably faster way to walk the filesystem, since you get
>> listdir() and all the attributes of the directory entries "isdir()" etc. in
>> a single system call. It's available as an extension but is built in on
>> Python 3.5 and above.
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>>
> _______________________________________________
> 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/20160613/e3ac9e54/attachment.html>


More information about the Scons-users mailing list