ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: "Eugeny A. Rostovtsev" <real.altlinux.org@gmail.com>
Cc: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Q: python default byte-compilation paths list
Date: Wed, 17 Feb 2010 20:22:08 +0300
Message-ID: <20100217172208.GM26455@wo.int.altlinux.org> (raw)
In-Reply-To: <8d778a621002170908u3b72bdb8l12afadc6e477ea84@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

On Thu, Feb 18, 2010 at 12:08:35AM +0700, Евгений Ростовцев wrote:
> > Мне кажется разумным изменить дефолтный список каталогов для байт-компиляции
> > таким образом, чтобы использовались только те каталоги, которые использует
> > python.prov.py; что вы об этом думаете?
> 
> Хотелось бы получить весь список, а не вычислять его, бегая по этому
> файлу.

python.prov.py как раз и вычисляет этот список.
Кстати, для чего ещё этот список мог бы понадобиться?

> А вообще, думаю, неплохо было бы, чтобы каталоги в списке были
> внутри %_libdir или %_libexecdir.
> 
> И дать мейнтейнеру инструмент, чтобы он мог из спека делать
> байт-компиляцию самостоятельно.

У него и так всегда есть этот инструмент.  Кстати, разве install_lib
из distutils по умолчанию не выполняет byte_compile?  Судя по коду,
у нас сейчас происходит дублирование работы в случае, если модули
пакуются с использованием distutils.  А таких модулей большинство.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-02-17 17:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-17 14:32 Евгений Ростовцев
2010-02-17 15:51 ` Dmitry V. Levin
2010-02-17 17:08   ` Евгений Ростовцев
2010-02-17 17:22     ` Dmitry V. Levin [this message]
2010-02-17 17:34       ` Ivan Fedorov
2010-02-17 17:47         ` Dmitry V. Levin
2010-02-17 17:50           ` Andrey Rahmatullin
2010-02-26  1:10       ` Dmitry V. Levin

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=20100217172208.GM26455@wo.int.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    --cc=real.altlinux.org@gmail.com \
    /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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git