All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Stefan Weil <sw@weilnetz.de>
Cc: qemu-trivial <qemu-trivial@nongnu.org>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-trivial] [PATCH] configure: Don't write .pyc files by default (python -B)
Date: Sun, 01 Sep 2013 19:15:01 +0400	[thread overview]
Message-ID: <522359F5.60202@msgid.tls.msk.ru> (raw)
In-Reply-To: <1377609161-25108-1-git-send-email-sw@weilnetz.de>

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.

/mjt


WARNING: multiple messages have this Message-ID (diff)
From: Michael Tokarev <mjt@tls.msk.ru>
To: Stefan Weil <sw@weilnetz.de>
Cc: qemu-trivial <qemu-trivial@nongnu.org>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] configure: Don't write .pyc files by default (python -B)
Date: Sun, 01 Sep 2013 19:15:01 +0400	[thread overview]
Message-ID: <522359F5.60202@msgid.tls.msk.ru> (raw)
In-Reply-To: <1377609161-25108-1-git-send-email-sw@weilnetz.de>

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.

/mjt

  reply	other threads:[~2013-09-01 15:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-27 13:12 [Qemu-trivial] [PATCH] configure: Don't write .pyc files by default (python -B) Stefan Weil
2013-08-27 13:12 ` [Qemu-devel] " Stefan Weil
2013-09-01 15:15 ` Michael Tokarev [this message]
2013-09-01 15:15   ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2013-11-14 14:45 ` Stefan Hajnoczi
2013-11-14 14:45   ` [Qemu-devel] " Stefan Hajnoczi
2013-11-14 17:43   ` Stefan Weil
2013-11-14 17:43     ` [Qemu-devel] " Stefan Weil
2013-11-15  9:31     ` Stefan Hajnoczi
2013-11-15  9:31       ` [Qemu-devel] " Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=522359F5.60202@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=sw@weilnetz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.