seomoz / shovel

Rake, for Python
MIT License
660 stars 49 forks source link

Fixed shovel-server so pkgutil.get_data works #10

Closed braingram closed 1 year ago

braingram commented 11 years 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