]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: ignore zero-length setup.py files
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 2 Jul 2019 04:23:59 +0000 (16:23 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Jul 2019 08:09:50 +0000 (09:09 +0100)
commit548a5c8f42c6ac1b0f7962926d05276e71505678
treed948d2da9bdab6709bf4bc08755ce993deb74420
parent7facaacd145c2924414ad63ddce07602a72d02c1
recipetool: ignore zero-length setup.py files

If a setup.py file exists it ought to have something in it before we
consider the source tree to be a Python module and treating it as such.
(A counter-example is https://www.bro.org/downloads/binpac-0.50.tar.gz -
it's not clear why this has a zero-length setup.py in it but we should
pay no attention to it.)

Fixes [YOCTO #12923].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_buildsys_python.py