with python-2.5, where to put site-packages on x86-64.

Toshio Kuratomi a.badger at gmail.com
Sat Dec 16 17:30:40 UTC 2006


On 12/16/06, sean <seandarcy2 at gmail.com> wrote:
> No i386 python:
>
> python-2.5-6.fc7.x86_64
> python-devel-2.5-6.fc7.x86_64
> python-docs-2.5-1.fc7.noarch
> python-libs-2.5-6.fc7.x86_64
> python-tools-2.5-6.fc7.x86_64
>
> But all the related packages are populating
> /usr/lib/python2.5/site-packages.
>
> And:
>
> python
> Python 2.5 (r25:51908, Dec 15 2006, 11:08:48)
> [GCC 4.1.1 20061213 (Red Hat 4.1.1-47)] on linux2
> Type "help", "copyright", "credits" or "license" for more
> information.
>  >>> from distutils import sysconfig
>  >>> print  sysconfig.get_python_lib()
> /usr/lib/python2.5/site-packages
>
What does sysconfig.get_python_lib(1) return?  It should be:
/usr/lib64/python2.5/site-packages

> Is this the desired packaging? For my own stuff does it even
> matter?
>
arch specific python packages should go to
/usr/lib64/python2.5/site-packages and arch independent python
packages should go to /usr/lib/python2.5/site-packages

Is this not what's happening for you?  Are there .so files being saved
into /usr/lib/python2.5?

-Toshio




More information about the fedora-devel-list mailing list