On 17/10/2016 at 07:09, xxxxxxxx wrote:
This seems like a basic question but I couldn't find any answers here on the forum (correct me if I'm wrong).
I'm writing a shader plugin that will reference another module with all the shader formulas. Is there a way to access this module (formulas.py) when it's in the same folder as the plugin? If I put it there, cinema complains: "ImportError: No module named formulas".
If I put it in the packages dir it does find it, but I would like to keep em together. Here's an example of the directory structure I would like to achieve:
formulas.py (also tried .pyp, no succes)
I've tried adding an __init__.py, but then cinema doesn't even find the plugin itself anymore.
Any help would be appreciated!