diff options
author | Christopher Larson <kergoth@gmail.com> | 2015-01-19 11:52:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-23 11:36:28 +0000 |
commit | 1b7b58ac97aafc2c88038bfb1f2301c4013f6761 (patch) | |
tree | 1e8a8ca8b148832c912643cb3a49fb9c0127c9c5 /meta/recipes-graphics/xorg-app/xprop_1.2.2.bb | |
parent | e490d79fb740319b35227eb66968be852a781036 (diff) | |
download | poky-1b7b58ac97aafc2c88038bfb1f2301c4013f6761.tar.gz |
recipetool: add python dependency scanning support
This uses a standalone python script named `pythondeps` which now lives in
scripts. It supports scanning for provided packages and imported
modules/packages, the latter via the python ast. It's not perfect, and
obviously conditional imports and try/except import blocks are handled
naively, listing all the imports even if they aren't all used at once, but it
gives the user a solid starting point for the recipe.
Currently `python_dir` from setup.py isn't being handled in an ideal way. This
is easily seen when testing the python-async package. There, the root of the
project is the async package, so the root has __init__.py and friends, and the
python provides scanning currently just assumes the basedir of that dir is the
package name in this case, which is not correct. Forthcoming patches will
resolve this.
(From OE-Core rev: cb093aca3b78f130dc7da820a8710342a12d1231)
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-app/xprop_1.2.2.bb')
0 files changed, 0 insertions, 0 deletions