Changeset 10827:8527a7511c4f in orange for Orange/__init__.py


Ignore:
Timestamp:
04/20/12 03:15:24 (2 years ago)
Author:
mitar
Branch:
default
Message:

Support for widgets loading from modules, registered through entry point.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/__init__.py

    r10825 r10827  
    1313import sys 
    1414sys.modules["orange"] = orange 
     15 
     16# Little trick so that legacy imports work automatically 
     17import Orange.orng 
     18sys.path = Orange.orng.__path__ + sys.path 
    1519 
    1620import warnings 
Note: See TracChangeset for help on using the changeset viewer.