source: orange/Orange/OrangeWidgets/__init__.py @ 11264:a5c2117750d3

Revision 11264:a5c2117750d3, 760 bytes checked in by Ales Erjavec <ales.erjavec@…>, 15 months ago (diff)

Providing help for widgets.

Line 
1"""
2
3"""
4import pkg_resources
5
6
7# Entry point for main Orange categories/widgets discovery
8def widget_discovery(discovery):
9    from . import (
10        Associate, Classify, Data, Evaluate, Regression,
11        Unsupervised, Visualize, Prototypes
12    )
13    dist = pkg_resources.get_distribution("Orange")
14    for pkg in [Data, Visualize, Classify, Regression, Evaluate, Unsupervised,
15                Associate, Prototypes]:
16        discovery.process_category_package(pkg, distribution=dist)
17
18
19# Intersphinx documentation root's (registered in setup.py)
20intersphinx = (
21     # root in development mode
22     ("{DEVELOP_ROOT}/docs/build/html/", None),
23     # URL is taken from PKG-INFO (Home-page)
24     ("{URL}/docs/latest/",
25      "{URL}/docs/latest/_objects/")
26)
Note: See TracBrowser for help on using the repository browser.