Otto Fowler created PLC4X-251:
---------------------------------
Summary: PLC4PY -> Boostrap Pluggy / Entry point / Extensions for
driver discovery and loading
Key: PLC4X-251
URL: https://issues.apache.org/jira/browse/PLC4X-251
Project: Apache PLC4X
Issue Type: New Feature
Reporter: Otto Fowler
Python does not have the service provider API like java for loading drivers,
but setup tools does support declarative methods to register plugins.
Along with the pluggy project, this will give the ability to load drivers as
plugins.
This is also supported by poetry.
This will allow 3rd parties to provide driver support ( or other extensions
should we want to support them ) just through their installations.
We will need a follow on to document writing an external package and supporting
this.
https://cwiki.apache.org/confluence/display/PLC4X/Project+Setup
https://dev.to/demianbrecht/entry-points-in-python-34i3
https://docs.pytest.org/en/latest/writing_plugins.html#pip-installable-plugins
https://python-poetry.org/docs/pyproject/#plugins
--
This message was sent by Atlassian Jira
(v8.3.4#803005)