protostar
protostar copied to clipboard
Fix constants.json handling when using unbuild Protostar in development
@kasperski95 was that not fixed?
Protostar doesn't crash, so it's fixed to me.
Loading constants.json in the unbuild version of Protostar requires a different logic.
I actually think that there shouldn't be any extra logic. The constants.json file can be loaded with importlib.resources module, which should work both in built, and unbuilt cases.