From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sun, 1 May 2016 09:36:21 +0200 Subject: [Buildroot] [PATCH v2 2/4] python: align the target finalize hooks with python3 In-Reply-To: References: <1462020471-29986-1-git-send-email-thomas.petazzoni@free-electrons.com> <1462020471-29986-3-git-send-email-thomas.petazzoni@free-electrons.com> Message-ID: <20160501093621.38e0d60d@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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-.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