Modify ↓
Opened 17 years ago
Closed 17 years ago
#7755 closed defect (worksforme)
How to Install "trac macro" (plugin), that is NOT packaged as an egg file?
| Reported by: | 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)
Note:
See TracTickets
for help on using tickets.



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 oftrac.ini. I have added a comment on TracPlugins#Enablingtheplugin to (hopefully) make that clear.