]> git.proxmox.com Git - qemu.git/commit
configure: Don't write .pyc files by default (python -B)
authorStefan Weil <sw@weilnetz.de>
Tue, 27 Aug 2013 13:12:41 +0000 (15:12 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 1 Sep 2013 15:14:49 +0000 (19:14 +0400)
commit1d984a67a95d88f3e708b077dab8adeb47c38c93
tree78b9ef60ca7ae3a792d7778bb4b854b27e4c208d
parent5b21a2ae4dea72d9aa68e0385fc0548971e929f4
configure: Don't write .pyc files by default (python -B)

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.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
configure