@@ -25,6 +25,8 @@ So we could recommend to organize in one single project all types of plugins rel
...
@@ -25,6 +25,8 @@ So we could recommend to organize in one single project all types of plugins rel
* generic plugins for a control system e.g. Tango, EPICS, Lima
* generic plugins for a control system e.g. Tango, EPICS, Lima
* generic plugins for a given type (and family) e.g. pseudo motors, recorders
* generic plugins for a given type (and family) e.g. pseudo motors, recorders
# Question 2: Plugins as ordinary python modules?
Currently some types of plugins, for example macros, can not be directly imported in python. This is because they are tightly bound to the Sardana plugin system. Furthermore the current plugin system in Sardana does not require the plugins to be python modules - these just need to be files with python code and `.py` extension.
Currently some types of plugins, for example macros, can not be directly imported in python. This is because they are tightly bound to the Sardana plugin system. Furthermore the current plugin system in Sardana does not require the plugins to be python modules - these just need to be files with python code and `.py` extension.
On the other hand, the controller plugins are actually directly usable in Python:
On the other hand, the controller plugins are actually directly usable in Python: