[Yum] Regarding the insert/append bug

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

 



On Fri, Dec 13, 2002 at 03:06:45PM -0800, Miles Egan wrote:
> Couldn't you just throw the yum libs in /usr/lib/site-python/yum for the
> same effect?

elmo$ python -c 'import sys, string; print string.join(sys.path, "\n")'

/usr/lib/python1.5/
/usr/lib/python1.5/plat-linux-i386
/usr/lib/python1.5/lib-tk
/usr/lib/python1.5/lib-dynload
/usr/lib/python1.5/site-packages

elmo$ ls -d /usr/lib/site-python/
ls: /usr/lib/site-python/: No such file or directory

So you'd have to create the directory, and STILL modify sys.path.
That seems ickier to me.  I agree that making making it into a package
(import yum, from yum import logger, etc) is a nice goal, but I just
don't see any way of doing it cleanly across builds without mucking in
the search path.

				-Michael

-- 
  Michael Stenner                       Office Phone: 919-660-2513
  Duke University, Dept. of Physics       mstenner@xxxxxxxxxxxx
  Box 90305, Durham N.C. 27708-0305


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux