[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH] configure: Don't write .pyc files by default

From: Michael Tokarev
Subject: Re: [Qemu-trivial] [PATCH] configure: Don't write .pyc files by default (python -B)
Date: Sun, 01 Sep 2013 19:15:01 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130827 Icedove/17.0.8

27.08.2013 17:12, Stefan Weil wrote:
When a Python script is run, Python normally writes bytecode into a .pyc file.
QEMU's build process uses several Python scripts which are called from
configure or make.

The generated .pyc files take disk space without being of much use, because
those scripts are short, not time critical and only called a few times.

Python's option -B disables writing of .pyc files. QEMU now uses "python -B"
as default, but it is still possible to choose a different call by passing
--python=PYTHON to configure.

Yay, thank you for this!
Applied to the trivial-patches queue.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]