Closed braingram closed 1 year ago
Basically, store a copy of the system shovel (necessary for pkgutil.get_data) before importing the local shovel (which contains the tasks).
This is quite hacky and does things like deleting parts of sys.modules and altering sys.path, but hey... it seems to work :)
This should resolve issues seomoz/shovel#4 seomoz/shovel#5
Basically, store a copy of the system shovel (necessary for pkgutil.get_data) before importing the local shovel (which contains the tasks).
This is quite hacky and does things like deleting parts of sys.modules and altering sys.path, but hey... it seems to work :)
This should resolve issues seomoz/shovel#4 seomoz/shovel#5