[Buildroot] [PATCH v2 2/4] python: align the target finalize hooks with python3

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun May 1 07:36:21 UTC 2016


Hello,

On Sat, 30 Apr 2016 22:56:56 +0200, Samuel Martin wrote:

> However, some packages call compile_all by themselves, so this can
> lead to have some remaining *.pyo in
> $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR) (e.g. [1] with
> this defconfig [2]).

Hum, correct. So like I'm unconditionally removing *.opt-<X>.pyc for
Python 3, I should remove unconditionally *.pyo for the Python case.
Would this be OK for you?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list