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.