scons: Improve Python module dependency discovery.
authorJose Fonseca <jfonseca@vmware.com>
Fri, 6 May 2016 13:03:05 +0000 (14:03 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Mon, 9 May 2016 13:19:24 +0000 (14:19 +0100)
commitc521f2d7373a241a69238b95a8c0f3725a9da5ad
tree3e5544f47b64578475ad5102cda4a0b13463d94b
parent172bfdaa9e80342ade3f023f72d455d76713b866
scons: Improve Python module dependency discovery.

Several NIR scripts were using `from ... import ...` syntax, which wasn't
supported.

Using Python standard libary's modulefinder solves the problem with less
effort and hacks.

Reviewed-by: Brian Paul <brianp@vmware.com>
scons/custom.py