Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7755 closed defect (worksforme)

How to Install "trac macro" (plugin), that is NOT packaged as an egg file?

Reported by: fermulator@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I can't find anywhere for trac 0.11 how to install (where to install) a trac plugin which comes as a .py file.

The "plugins_dir" in the trac.ini doesn't work. (tried putting it in both the global trac.ini and the project trac.ini)

If the myplugin.py resides in the project_dir/plugins, it loads. However we want it in a GLOBAL trac plugins directory (e.g. - /usr/lib/python2.5/site-packages/Trac/trac/plugins). How can this be accomplished?

This should be documented also TracPlugins

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 16 years ago

Resolution: worksforme
Status: newclosed

This is the same problem as described in #7731. When you install a plugin outside of the project environment, you have to enable it explicitly in the [components] section of trac.ini. I have added a comment on TracPlugins#Enablingtheplugin to (hopefully) make that clear.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.