Normally, the author can bundle native libraries as dependencies, but it'll occupy space too much when it comes to python plugin. So I was just thinking about virtualenv-based python package management. Here's some problems:
1. pip doesn't support in-process packaging
So pip recommends programmers to call pip as separate process. IDA uses python interpreter installed into system, so maybe I can find and use the interpreter by determining python.dll used in the process. (sys.executable is set to ida.exe in IDAPython. This breaks virtualenv calls in IDAPython)
Solved.
2. Versioning
I think that PEP440 or semantic versioning would be good.
Normally, the author can bundle native libraries as dependencies, but it'll occupy space too much when it comes to python plugin. So I was just thinking about virtualenv-based python package management. Here's some problems:
1. pip doesn't support in-process packaging
So pip recommends programmers to call pip as separate process. IDA uses python interpreter installed into system, so maybe I can find and use the interpreter by determining python.dll used in the process. (sys.executable is set to ida.exe in IDAPython. This breaks virtualenv calls in IDAPython)
Solved.
2. Versioning
I think that PEP440 or semantic versioning would be good.