Wanted: Python solution for ordering dependencies

Chris Rebert clp2 at rebertia.com
Sat Apr 24 16:59:32 EDT 2010


On Sat, Apr 24, 2010 at 1:53 PM, Jonathan Fine <jfine at pytex.org> wrote:
> Hi
>
> I'm hoping to avoid reinventing a wheel (or other rolling device).  I've got
> a number of dependencies and, if possible, I want to order them so that each
> item has its dependencies met before it is processed.
>
> I think I could get what I want by writing and running a suitable makefile,
> but that seems to be such a kludge.
>
> Does anyone know of an easily available Python solution?

http://pypi.python.org/pypi/topsort/0.9
http://www.bitformation.com/art/python_toposort.html

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list