hibtc / madgui-old

[OBSOLETE] GUI for accelerator simulations using MAD-X
MIT License
1 stars 0 forks source link

improve plugin architecture #20

Open coldfix opened 10 years ago

coldfix commented 10 years ago

The plugin system was merged while still not remotely mature (to be able to continue work). I'd like the following improvements:

The first two might be avoidable by pkg_resources.working_set modifications which allows to iterate entry points in a non-installed environment.

Furthermore, most events are not really fit to be entry points (possibly makes sense only for 'init'), there are basically two options:

Just another thought: a very powerful ordering/dependency mechanism could work similar to the unit files in systemd.

See also: #81