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 > wrote: +cd ${D}${libdir}/xcb-proto/xcbgen +python -m py_compile *.py The cd is redundant as you can pass absolute paths to

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

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 > wrote: Its Makefile's do_install creates .pyc files for python3, now also create them for python2 so that they will be recorded by

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