This guide is intended to provide information on how to setup an environment for developing plugins for Editra. For information about how to plugins work and sample code see the Plugin Overview.
svn checkout http://svn.wxwidgets.org/svn/wx/wxPython/3rdParty/Editra Editra
svn checkout http://editra-plugins.googlecode.com/svn/trunk/ editra-plugins
export PYTHONPATH="$PYTHONPATH:/path/to/Editra/plugins"Control Panel => System => Advanced => Environmental Variables Then add it to the system variables. C:\\Path\to\Editra\plugins.Editra plugins are required to be bundled into python eggs to be loaded by Editra, but this can become burdensome when developing a plugin since you need to rebundle it each time you make a change to your code. So when developing plugins its best to bundle the egg in develop mode which will create a link to your source and elimintate the need to rebundle between each change to your source code.
To build a plugin in development mode run the following command from your plugins base directory (i.e Editra/plugins/editra-plugins/myplugin/).
python setup.py develop --install-dir=../../This will create a file in 'Editra/plugins/' called MyPlugin.egg-lnk. Now you can simply just run Editra after each change to your plugin to test the results.