Changes between Version 68 and Version 69 of TracDev/PluginDevelopment
- Timestamp:
- Aug 4, 2014, 11:10:37 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/PluginDevelopment
v68 v69 58 58 == Packaging plugins == 59 59 60 TracPlugins are packaged as [http://peak.telecommunity.com/DevCenter/PythonEggs Python Eggs]. You can use [http ://peak.telecommunity.com/DevCenter/setuptoolssetuptools] to make a `setup.py` script that will produce a Python egg for your plugin.60 TracPlugins are packaged as [http://peak.telecommunity.com/DevCenter/PythonEggs Python Eggs]. You can use [https://pythonhosted.org/setuptools/setuptools.html setuptools] to make a `setup.py` script that will produce a Python egg for your plugin. 61 61 62 The egg needs to export an [http ://peak.telecommunity.com/DevCenter/setuptools#dynamic-discovery-of-services-and-plugins entry points] group named `trac.plugins`, listing the names of the modules that Trac should import for the plugin-provided components to get registered. For example:62 The egg needs to export an [https://pythonhosted.org/setuptools/setuptools.html#dynamic-discovery-of-services-and-plugins entry points] group named `trac.plugins`, listing the names of the modules that Trac should import for the plugin-provided components to get registered. For example: 63 63 64 64 {{{