[Yum-devel] structure of new yum package

Ryan Tomayko rtomayko at naeblis.cx
Mon Aug 23 01:28:24 UTC 2004


You may want to consider using python distutils which just does The 
Right Thing. Take a look at setup.py in urlgrabber. I'm not sure if it 
handles different archs but I have to assume they've thought of that.

Ryan

On Aug 22, 2004, at 7:34 PM, seth vidal wrote:
> On Sun, 2004-08-22 at 19:33 -0400, Konstantin Ryabitsev wrote:
>> Placing things in /usr/lib/python-##/site-packages is goofy, since on
>> 64bit architectures that dir is really /usr/lib64/python-##/site-
>> packages. Right now I see that the /usr/lib path is added to the 
>> global
>> sys.path, so it's possible that this is a non-issue, but is 
>> nonetheless
>> goofy. I am planning to move my packages from putting things in site-
>> packages to just /usr/share/. Otherwise I'm not really sure it 
>> qualifies
>> as .noarch.rpm in the strictest of senses.
>>
>>>>> sys.path
>> ['', '/usr/lib64/python23.zip', '/usr/lib64/python2.3',
>> '/usr/lib64/python2.3/plat-linux2', '/usr/lib64/python2.3/lib-tk',
>> '/usr/lib64/python2.3/lib-dynload', '/usr/lib64/python2.3/site-
>> packages', '/usr/lib/python2.3/site-packages']
>
> good point, I meant to say:
>
> /usr/lib$arch/python##/site-packages/
>
> I need to bug misa about that and find out what the 'standard' is.
>
> -sv
>
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at lists.linux.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel




More information about the Yum-devel mailing list