Posts: 20
Joined: Mar 2013
Reputation:
0
Hi,
I'm actually on an addon that requires lxml, so I made a second binary addon for it, that I have included in my original addon with <requires> ... now I want to support multiple platforms and wondering how I could select the <requires> dependent on the platform it is running.
cheerz,
lorus
Posts: 4,137
Joined: Jul 2009
Reputation:
48
amet
Retired Team-Kodi Member
Posts: 4,137
no, it will give you a separate lxml addon that you include in your addon, there is no other way that I can think of
Posts: 17,859
Joined: Jul 2011
Reputation:
371
as an advance warning if you were perhaps thinking of adding it to xbmc repo. we don't allow binary files in our repo so you will have to provide it by yourself.
Posts: 4,137
Joined: Jul 2009
Reputation:
48
amet
Retired Team-Kodi Member
Posts: 4,137
I cant say, its standard python... its clear what the issue is you just need to address all the errors you have
from lxml import etree -> from lxml_win import etree maybe?
Posts: 20
Joined: Mar 2013
Reputation:
0
that is what I asked, but if I rename lxml to lxml_win everywhere it finally ends up with erros from the binary files ... so I guess this isn't doable without rebuilding the whole module from sources, right?