spine-tools / spine-items

Project items for Spine Toolbox.
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
4 stars 4 forks source link

Expose entry points to items in package root #186

Closed soininen closed 8 months ago

soininen commented 8 months ago

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