[devel] Q: python default byte-compilation paths list compilation

Andrey Rahmatullin wrar на altlinux.ru
Ср Фев 17 14:06:35 UTC 2010


On Wed, Feb 17, 2010 at 05:01:21PM +0300, Dmitry V. Levin wrote:
> > > См. мой абзац выше. Давайте всё же окультурим питон и будем его модули
> > > располазать в стандартном месте
> > Ужасно.
> > http://www.debian.org/doc/packaging-manuals/python-policy/ch-programs.html#s-current_version_progs
> Я только не понимаю, как мейнтейнер в Debian следит за тем, чтобы, как
> написано у них в правилах, "the byte-compiled modules [...] should be
> generated in the package's postinst [...] and removed in the prerm"?

python-support || python-central

dh_pysupport(1):
OPTIONS
       module dirs
           If your package installs private python modules in non-standard
directories, you can make dh_pysupport check those directories by passing their
names on the command line. By default, it will check /usr/lib/$PACKAGE,
/usr/share/$PACKAGE, /usr/lib/games/$PACKAGE and /usr/share/games/$PACKAGE

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):

 * swi вот почетный боянист и не смущается сим фактом прискорбным
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.altlinux.org/pipermail/devel/attachments/20100217/e46500a6/attachment.bin>


Подробная информация о списке рассылки Devel