Hello, Martin Unfortunately. Trac plugins should be packaged as EGGs, because Trac uses information from EGG distribution to display in web-admin. So far I haven't found a way to get this information for imported module installed in a plain directory, i.e. the one that doesn't end with .egg like.
For example WikiNotification plugin when installed with setuptools, ends into tracwikinotification-0.2.1-py2.6.egg directory with EGG-INFO and WikiBotification subdirs. First subdir is used by Trac to display plugin info (via pkg_resources from setuptools) and the second contains with actual module code. The path is detected by path to files of imported module. In Debian there is Account Manager for example. It is imported from /usr/share/pyshared/acct_mgr and actual meta information is in /usr/share/pyshared/TracAccountManager-0.2.1dev.egg-info So far I haven't found a way how to link these. I'll keep you updated. -- anatoly t. On Sat, Jan 2, 2010 at 4:38 PM, W. Martin Borgert <deba...@debian.org> wrote: > Quoting "anatoly techtonik" <techto...@gmail.com>: >> >> Yep. I know that. It is because plugin system in original WebAdmin >> plugin was designed with eggs in mind (whatever that means). I already >> have a patch to fix that, but I want to be sure it covers all cases. > > Would you mind to send the patch to 562...@bugs.debian.org, so > that we can look at it? Even if your solution does not cover all > cases or has other issues, you are at least one step ahead :~) > > The bug report is visible here: http://bugs.debian.org/562963 > > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org