Re: [OE-core] [PATCH 1/4] xcb-proto: create .pyc files for python2

2016-10-12 Thread Robert Yang
On 10/12/2016 07:36 PM, Burton, Ross wrote: On 12 October 2016 at 07:31, Robert Yang mailto:liezhi.y...@windriver.com>> wrote: +cd ${D}${libdir}/xcb-proto/xcbgen +python -m py_compile *.py The cd is redundant as you can pass absolute paths to py_compile. Thanks, updated i

Re: [OE-core] [PATCH 1/4] xcb-proto: create .pyc files for python2

2016-10-12 Thread Burton, Ross
On 12 October 2016 at 07:31, Robert Yang wrote: > +cd ${D}${libdir}/xcb-proto/xcbgen > +python -m py_compile *.py > The cd is redundant as you can pass absolute paths to py_compile. Ross -- ___ Openembedded-core mailing list Openembedded-cor

Re: [OE-core] [PATCH 1/4] xcb-proto: create .pyc files for python2

2016-10-12 Thread Robert Yang
On 10/12/2016 04:00 PM, Jussi Kukkonen wrote: On 12 October 2016 at 09:31, Robert Yang mailto:liezhi.y...@windriver.com>> wrote: Its Makefile's do_install creates .pyc files for python3, now also create them for python2 so that they will be recorded by manifest, and can be cleaned

Re: [OE-core] [PATCH 1/4] xcb-proto: create .pyc files for python2

2016-10-12 Thread Jussi Kukkonen
On 12 October 2016 at 09:31, Robert Yang wrote: > Its Makefile's do_install creates .pyc files for python3, now also > create them for python2 so that they will be recorded by manifest, and > can be cleaned correctly. So this is about autotools byte-compiling for python3 at install time and the

[OE-core] [PATCH 1/4] xcb-proto: create .pyc files for python2

2016-10-11 Thread Robert Yang
Its Makefile's do_install creates .pyc files for python3, now also create them for python2 so that they will be recorded by manifest, and can be cleaned correctly. Signed-off-by: Robert Yang --- meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb | 8 1 file changed, 8 insertions(+) dif