On Fri, 2010-06-18 at 12:51 -0700, Garrett Cooper wrote:
> Hi Yum folks,
>     I'm looking at adding yum to FreeBSD ports in order to do package
> resolution at the Linux compat layer so we can have a more sane Linux
> environment and one of the things that would need some work is the yum
> tool (in particular: pathing, it needs a setup.py script for
> completeness, etc). I was wondering if anyone was interested in this
> work... at the worst folks with older versions of Fedora, Redhat, or
> whatever could have a portable tool that installs into
> ${PREFIX}/lib/python<version>/site-packages/yum so some of the code
> that's in place that tells yum where to pick up files wouldn't be
> needed anymore, or someone using a dev version of the tool could use
> the tool without impacting a system copy by setting the appropriate
> variables that are used via distutils, etc.
> Thanks!

You only need to change two items that I'm aware of.

bin/yum.py to change the sys.path.insert there.



but in general you can just run: ./yummain.py from the code path and it
will use what's in PYTHONPATH And Current Working directory.

So - instead of mucking yum up with distutils and setup.py - why not
just apply a simple patch?

-sv




_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to