Hi,
On Sat, Jun 13, 2026 at 12:23 PM 'Patty Cottrill' via Trac Users
<
trac-...@googlegroups.com> wrote:
>
> I need help with Trac plugins.
>
> I have a shared plugins directory that I point to in each Trac project’s trac.ini:
> [inherit]
> htdocs_dir = /home/trac/tracshare/htdocs/shared
> plugins_dir = /home/trac/plugins
> templates_dir =
>
> Some projects also have plugins installed in their individual plugins directory.
> The plugins in the individual projects are NOT included in the shared directory.
> One of the plugins is the Trac Account Manager plugin; same version on all individual projects.
>
> I would like to install the Trac Account Manager plugin in the shared directory, since I’m now using the plugin on all projects.
I guess that you're using TRAC_ENV_PARENT_DIR. All plugins in the
individual projects are loaded for all projects. You can confirm that
all plugins are loaded in admin/general/plugin page of each project.
> What is the best procedure for doing this?
I recommend that installing such plugins to site-packages in the virtualenv.
$ virtualenv /path/to/venv
$ . /path/to/venv/bin/activate
$ pip install svn+
https://trac-hacks.org/svn/accountmanagerplugin/trunk
See also
https://trac-hacks.org/wiki/TracPlugins#Forallprojects
> Can I just copy the Account Manager plugin to the shared folder?
If you want to install plugins to the directory which configured in
"[inherit] plugins_dir" option, you can copy the egg file that built
from the source to the directory.
$ python setup.py bdist_egg
$ cp dist/*.egg /home/trac/plugins/
> If so, will I need to delete it from each project’s plugin folder?
Yes. The "plugins" directory of each project must be empty if you're
using TRAC_ENV_PARENT_DIR.
--
Jun Omae <
jun...@gmail.com> (大前 潤)