python3: remove full path from .pyc
authorJérôme Pouiller <jezz@sysmic.org>
Tue, 20 Dec 2016 13:46:27 +0000 (14:46 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Apr 2017 16:31:19 +0000 (18:31 +0200)
commit95ba0bb7e8d9d18b70e0216b931f64878bf41a2e
tree207eb0b1f03b2baa8b33b9bebf91ebcaa8e7a8a1
parent8b014560f6fff100e89600f42f6882da0dcfe5b7
python3: remove full path from .pyc

.pyc files include path to source .py file. This patch changes the way
`pycompile.py' is launched in order to only keep the part relative to
$TARGET_DIR.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python3/python3.mk