SCIENTIFIC-LINUX-USERS Archives

March 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ilya Otyutskiy <[log in to unmask]>
Reply To:
Ilya Otyutskiy <[log in to unmask]>
Date:
Sat, 2 Mar 2013 18:52:49 +0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
On Mar 2, 2013, at 6:51 PM, g <[log in to unmask]> wrote:

>> yum sets its own environment when invoked. yum/__init__.py initializes 
>> basearch from a listing in rpmUtils/arch.py. I think releasever is 
>> pulled in by yum/config.py, but I don't remember where. If that doesn't 
>> make much sense then I recommend not doing whatever you're thinking of 
>> doing.
> 
> it is understandable. now i am wondering just where the *.py are located.
> or is it in memory?
> 

They are in the standard place at /usr/lib/python2.6/site-packages/rpmUtils, /usr/lib/python2.6/site-packages/yum and so on.

ATOM RSS1 RSS2