python code which depends on native library
#1
In general I'd like to know how handle the case when python code is actually a wrapper around a native library. Can we support this scenario in XBMC?

Specifics are, I'm trying to scrape a website using BeatifulSoup, however the site is using some weird HTML and I need to Tidy it, though most (if not all) tidy libraries depend on the native libtidy, however I have no idea how we can deploy addons in a crossplatform manner which thus depend on native libraries.

I hope my problem is clear, if not let me know.
Reply
#2
there's no clean way to handle it, but have a look at script.boblight
Reply
#3
Hmm, well in the case of boblight the extra burden on the user is a bit more justified, for a video scrape plugin this is not realistic. But thanks for the answer, I'll have to figure out something else then.
Reply
#4
uhm, read the code. there is no burden, it grabs and downloads the correct binary.
Reply
#5
Ahh yes, sorry, I read his readme.md on github which talks about building the libraries but thats not necessary.
Reply

Logout Mark Read Team Forum Stats Members Help
python code which depends on native library0