TDL? I haven't used it in ages, but it worked well for me when I did. I'm not sure how complex your dependencies are, but for my simple needs, the sublists were sufficient. Open source, with fairly straight-forward code (I submitted a patch for a bug), so if it doesn't do what you want yet, it could likely be modified so that it did.