=== modified file 'doc/core/howto/plugin.xhtml'
|
|
|
|
| 178 | 178 | need to pass this argument. However, if you have developed an |
| 179 | 179 | interface of your own, you may want to mandate that plugins for it |
| 180 | 180 | are installed in your own plugins package, rather than in |
| 181 | | Twisted's. In this case, you probably also want to support <code |
| | 181 | Twisted's.</p> |
| | 182 | |
| | 183 | <p>For example, you way want to support <code |
| 182 | 184 | class="shell">yourproject/plugins/</code> directories for ease of |
| 183 | | development. To do so, you should make the <code |
| 184 | | class="shell">__init__.py</code> for that package contain at least |
| | 185 | development. To do so, you should make <code |
| | 186 | class="shell">yourproject/plugins/__init__.py</code> contain at least |
| 185 | 187 | the following lines.</p> |
| 186 | 188 | |
| 187 | 189 | <pre class="python"> |