manual/plugin_examples/editor_demo/__init__.py
raw| 1 | #!/usr/bin/env python |
| 2 | |
| 3 | |
| 4 | __license__ = 'GPL v3' |
| 5 | __copyright__ = '2014, Kovid Goyal <kovid at kovidgoyal.net>' |
| 6 | |
| 7 | from calibre.customize import EditBookToolPlugin |
| 8 | |
| 9 | |
| 10 | class DemoPlugin(EditBookToolPlugin): |
| 11 | name = 'Edit Book plugin demo' |
| 12 | version = (1, 0, 0) |
| 13 | author = 'Kovid Goyal' |
| 14 | supported_platforms = ['windows', 'osx', 'linux'] |
| 15 | description = 'A demonstration of the plugin interface for the ebook editor' |
| 16 | minimum_calibre_version = (1, 46, 0) |