close
Warning:
Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.
- Timestamp:
-
2021-07-11T14:17:48-07:00 (4 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v5
|
v6
|
|
| 36 | 36 | '''Note''': In a multi-project setup, a pool of Python interpreters will be dynamically allocated to projects based on need. Since plugins occupy a place in Python's module system, the first version of any given plugin to be loaded will be used for all projects. In other words, you cannot use different versions of a plugin in different projects of a multi-project setup. Install plugins for all projects (see below) and enable them as needed for each project. |
| 37 | 37 | |
| 38 | | ==== Uninstalling |
| | 38 | ==== Uninstalling #UninstallEgg |
| 39 | 39 | |
| 40 | 40 | Remove the egg from the `plugins` directory and restart the web server. |
| … |
… |
|
| 70 | 70 | |
| 71 | 71 | Replace the `svn+` prefix with `git+` if installing |
| 72 | | from a Git repository. |
| | 72 | from a Git repository. |
| 73 | 73 | |
| 74 | 74 | Or from the path or URL of a tar.gz or zip archive: |
| … |
… |
|
| 85 | 85 | ==== Enabling the plugin |
| 86 | 86 | |
| 87 | | Unlike plugins installed per environment, you have to explicitly enable globally installed plugins. This also applies to plugins installed in the shared plugins directory. |
| | 87 | Unlike plugins installed per environment, you have to explicitly enable globally installed plugins. This also applies to plugins installed in the shared plugins directory. |
| 88 | 88 | |
| 89 | 89 | This is done in the `[components]` section of the configuration file `trac.ini`. For example: |
| … |
… |
|
| 128 | 128 | }}} |
| 129 | 129 | |
| 130 | | ==== Uninstalling |
| | 130 | ==== Uninstalling #UninstallWithPip |
| 131 | 131 | |
| 132 | 132 | Get a list of installed plugins: |
| … |
… |
|
| 193 | 193 | '''Note''': !SetEnv requires the `mod_env` module, which needs to be activated for Apache. In this case the !SetEnv directive can also be used in the `mod_python` Location block. |
| 194 | 194 | |
| 195 | | For [TracFastCgi FastCGI], you'll need to `-initial-env` option, or whatever is provided by your web server for setting environment variables. |
| | 195 | For [TracFastCgi FastCGI], you'll need to `-initial-env` option, or whatever is provided by your web server for setting environment variables. |
| 196 | 196 | |
| 197 | 197 | '''Note''': if you already use -initial-env to set the project directory for either a single project or parent, you will need to add an additional -initial-env directive to the !FastCgiConfig directive: |
| … |
… |
|
| 231 | 231 | === Check the permissions |
| 232 | 232 | |
| 233 | | Trac must be able to read the .py file or package (.egg or .whl). |
| | 233 | Trac must be able to read the .py file or package (.egg or .whl). |
| 234 | 234 | |
| 235 | 235 | === Check the log files |