import sys, os
sys.path.append(os.path.join(os.path.dirname(__file__), 'resources', 'site-packages'))
from xbmctorrent import plugin


if __name__ == '__main__':
    plugin.run()

import sys, os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'resources', 'site-packages'))
from xbmctorrent import plugin


if __name__ == '__main__':
    plugin.run()

Make sure we use our own vendored packages
Make sure we use our own vendored packages
