Changeset 192
- Timestamp:
- 02/28/07 15:41:13 (23 months ago)
- Location:
- infra/tracx/tracx
- Files:
-
- 1 removed
- 1 modified
-
loader.py (modified) (2 diffs)
-
modified/loader.py (deleted)
Legend:
- Unmodified
- Added
- Removed
-
infra/tracx/tracx/loader.py
r170 r192 17 17 """ (draft) Loads further plugins from the plugin/ directory 18 18 19 the plugins don't need to have a egg-info, it will be generated from this20 component.19 the plugins need to have a egg-info (created via prepare.py or via standard 20 setup.py egg_info command. 21 21 22 The plugins are loaded and enabled without manual intervention. 22 The plugins are loaded without manual intervention. 23 24 Plugins need to be enabled, either in the global or in the local ini file. 23 25 24 26 This way it is possible to check-out and activate multiple plugins via … … 52 54 53 55 # call plugin loader 54 #TODO: trac:#4317 - replace next line with below after fixing 55 from tracx.modified.loader import load_components 56 #from trac.loader import load_components 57 # 58 load_components(self.env, setupdirs) 59 56 import trac.loader as loader 57 58 # load egg based plugins, form tracx/plugin/* dirs 59 eggloader = loader.load_eggs('trac.plugins') 60 eggloader(self.env, setupdirs) 61 62 #load file based plugins, only form tracx/plugin dir 63 fileloader = loader.load_py_files() 64 fileloader(self.env, plugindir) 65 66 60 67 #TODO trac:$4190 - replace dummies to force component initialization 61 68 implements(IEnvironmentSetupParticipant)