wiki:AddOns

Version 8 (modified by mitar, 23 months ago) (diff)

Add-ons

Structure

Add-on is a Python package. The structure of an add-ons repository is as follows, packagename being a directory of the add-on's Python package:

orange-addonname/
    COPYING
    LICENSE
    setup.py
    docs/
    _packagename/
        datasets/
        widgets/
            __init__.py
            ...
        __init__.py
        ...
    src/

docs contains reST documentation of the add-on. src possible contains C/C++ source code. datasets any additional datasets add-on might use.

Package name starts with _ to signify it is for internal use only. Add-ons register through setuptools hook into Orange namespace.

 More.