2015-12-04, 00:43
so I have written myself a simple script to create kodi addons from pypi. You can check it out here: https://github.com/mookfist/repo/blob/ma...nerator.py
It's quite useful, and for the common things like simplejson and requests, gives me control over the version of the library I want to use.
But, I've started to wonder...
If everyone did things the way I'm doing them, there would be waste. Each repo would install its own copy(ies) of libraries. So I wondered if having a pypi repo so to speak would be useful.
I looked through the python files of my Kodi installation's addons. I only saw a few obvious libraries such as html5lib so there doesn't really appear to be a lot of addons depending on much more than the standard library. So I've got to wonder, is this something people want or feel that they need? If it was available would you use it or are you fine with the standard library or otherwise indifferent to the idea?
just wondering...
edit: another thing to consider, is that if people have to add two repo zip files manually just so they can use the pypi mirror addon, then that's not great at all. I'm not sure there is any other way to add a repo addon.
It's quite useful, and for the common things like simplejson and requests, gives me control over the version of the library I want to use.
But, I've started to wonder...
If everyone did things the way I'm doing them, there would be waste. Each repo would install its own copy(ies) of libraries. So I wondered if having a pypi repo so to speak would be useful.
I looked through the python files of my Kodi installation's addons. I only saw a few obvious libraries such as html5lib so there doesn't really appear to be a lot of addons depending on much more than the standard library. So I've got to wonder, is this something people want or feel that they need? If it was available would you use it or are you fine with the standard library or otherwise indifferent to the idea?
just wondering...
edit: another thing to consider, is that if people have to add two repo zip files manually just so they can use the pypi mirror addon, then that's not great at all. I'm not sure there is any other way to add a repo addon.