[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] configure: Don't write .pyc files by default
Re: [Qemu-trivial] [PATCH] configure: Don't write .pyc files by default (python -B)
Sun, 01 Sep 2013 19:15:01 +0400
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.
|[Prev in Thread]
||[Next in Thread]|
- Re: [Qemu-trivial] [PATCH] configure: Don't write .pyc files by default (python -B),
Michael Tokarev <=