Hi,

On Sat, Jun 13, 2026 at 12:23 PM 'Patty Cottrill' via Trac Users
<[email protected]> 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 <[email protected]> (大前 潤)

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/trac-users/CAEVLMagiydAxaMF5rGpY2kf1%2BtZ87wsUGU0Arn5GXBeNWK69bg%40mail.gmail.com.

Reply via email to