File-based scanning of the items package does not work when Spine Toolbox is bundled by e.g. PyInstaller as the .py files do not exist in the bundle. This PR enables the users of spine_items to discover item factories etc. without the need for touching the file system. Further, it gives the responsibility which items should be discoverable from outside to spine_items itself.
No related issue
Checklist before merging
[x] Documentation (also in Toolbox repo) is up-to-date
[x] Release notes in Toolbox repo have been updated
[x] Unit tests have been added/updated accordingly
File-based scanning of the items package does not work when Spine Toolbox is bundled by e.g. PyInstaller as the
.py
files do not exist in the bundle. This PR enables the users ofspine_items
to discover item factories etc. without the need for touching the file system. Further, it gives the responsibility which items should be discoverable from outside tospine_items
itself.No related issue
Checklist before merging