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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Toshio Kuratomi wrote:

> On 12/16/06, sean <seandarcy2@xxxxxxxxx> 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
> 

IIUC this setup is actually broken.  Packages that have both arch-indep and
arch-dep will not be found correctly with this scheme.  AFAIK this has not
been fixed in python, and python authors said that this scheme is wrong.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux