[Yum-devel] [PATCH] Add python-libs dep. BZ 744380
Toshio Kuratomi
a.badger at gmail.com
Tue Oct 11 16:23:25 UTC 2011
On Tue, Oct 11, 2011 at 07:01:02AM -0400, Zdenek Pavlas wrote:
> > Um, the python interpreter itself is linked to the shared library
> > provided by python-libs. Remove python-libs (only possible with
> > --nodeps) and you wont be able run python at all.
>
> Hmm, right. And python-2.7.2-4.fc16 requires
> python-libs = 2.7.2-4.fc16, just as expected.
>
> ..but:
>
> - python-libs contains just libpython2.7.so in FC14 (< 2MB)
> but grew to some 20+ MB in FC15 and FC16.
>
> - rpm -qf /usr/{lib,lib64}/python2.7/xml/etree/cElementTree.pyc
> F14: python-2.7-8.fc14.1.i686
> F16: python-libs-2.7.2-4.fc16.x86_64
>
Right. it's possible to write an application that embeds a python
interpreter. When this happens you need the libpython.so shared objects.
To make that useful you're probably also expecting the python standard
library (/usr/{lib,lib64}/python2.7/*). That's why the stdlib was moved
from the python package into the python-libs package.
-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20111011/8d556b8c/attachment.asc>
More information about the Yum-devel
mailing list