Closed mottosso closed 7 years ago
This seems to fix an issue I'm having currently in Nuke.
Should we give this a merge?
I've been experimenting with a different approach lately, give this a try and let me know if that works for you.
Unfortunately this does not fix the issue I had in Nuke now :(
Ok, let me back it up.
Ok, should be back to normal, with the exception that it merges with master and the target feature.
Yup, we are back, and the issue in Nuke is fixed :)
Before merging this, would you mind having a look at the failing test? Otherwise I'll try and have a look at it when I can.
The problem with the test is that its trying to get the module of the plugin through the module name in sys.modules
but since we have changed that to the absolute path, it can't find the module anymore.
Also I noticed that you are not replace \\
with _
, which you outlined in the PR. Not a problem for me or Nuke :)
Question is how to access the absolute path to the module from the class?
Latest commit seems to fix the issue :)
Yeah, that should work fine. Thanks, let's give this a try. :)
This alters the name of plug-ins used in-memory to one that is almost guaranteed to be unique.
Edge cases include directories with similar characters in similar places.
Though different, would both result in..
Where the latter one overwrites the former.