Jorge Godoy schrieb: > On Thursday 16 August 2007 09:25:26 Diez B. Roggisch wrote: >> Hi All, >> >> quite a few people using TG complain about the need to patch it to get >> support for the still-not-released MochiKit 1.4 version. While it >> certainly is advisable to rely on released versions of software, MK 1.4 >> has shown stability and quite a few bug-fixes and feature enhancements >> that make it's usage worthwhile. >> >> So Florent and I devised a scheme to include configurable support for MK >> in different versions. >> >> Basically, we want to introduce a new dependecy, tgMochiKit. This will >> not be a full-blown TG widget project, as that shows mutual >> dependency-troubles with TG. Instead, it will offer >> convenience-functions to access various versions of MK, packed and >> unpacked. Via configuration, the user then will be able to determine the >> actually used MK version. >> >> I hope this finds the approval of the other developers. If yes, we'd >> also like to include the project in the SVN. > > Why not just create different widgets? Each egg would have one different > version of MochiKit and then we could just use something like: > > tg.include_widgets = ['mochikit.mk14pcked'] > > on app.cfg. This would require absolutely no change in TG and works right > now, even on 1.0 branch.
Unfortunately, it's not that simple - I know that because I tried to go down that road already. The problem is that TG depends on mochikit for it's widget system, but a widget-project obviously depends on TG. So either we remove the mochikit-dependency from TG, which I think isn't an option for TG1.1, or the mochikit-support-project doesn't depend on TG - which is the way I go now and have already in a somwhat rough yet working variant. Regards, Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
